testif.wb 232 B

123456789
  1. 10 if 1 then print "条件成立"
  2. 20 if 0 then print "条件不成立"
  3. 30 if 1 then if 1 then if 1 then print "多重条件成立"
  4. 40 print "ifによるループ"
  5. 50 i = 0
  6. 60 print i;" ";
  7. 70 i=i+1
  8. 80 if i < 10 then goto 60
  9. 90 print "終了",wait