Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Loops-Continue/XBasic/loops-continue.basic
Normal file
15
Task/Loops-Continue/XBasic/loops-continue.basic
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
PROGRAM "loopcontinue"
|
||||
|
||||
DECLARE FUNCTION Entry()
|
||||
|
||||
FUNCTION Entry()
|
||||
FOR i% = 1 TO 10
|
||||
PRINT i%;
|
||||
IF i% MOD 5 = 0 THEN
|
||||
PRINT
|
||||
DO NEXT ' It looks like DO FOR backs to the FOR with the current value of i%
|
||||
END IF
|
||||
PRINT ", ";
|
||||
NEXT i%
|
||||
END FUNCTION
|
||||
END PROGRAM
|
||||
Loading…
Add table
Add a link
Reference in a new issue