if
if或whether引导的宾语从句
her后可直接接 or not,而 if 不可以。 例如: I want to know whether or not it39。 s good news. 我想知道是否是好消息。 (3) 在介词后,只能用 whether。 例如: His father is worried about whether he will lose his work. 他的父亲担心是否会失去工作。 (4)
if条件then语句体endif
+1 WEND PRINT s END 程序 否 i=100? 是 s=s+i i=i+1 DO s=s+i i=i+1 LOOP UNTIL i100 WHILE i=100 s=s+i i=i+1 WEND 比较两种循环结构的异同 : 注: 两种循环结构可以互相转换。 相同点: 循环体相同。 不同点: UNTIL语句的条件是 WHILE 语句的条件的 否定。 WHILE 语句的条 件也是