Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
5
Task/Loops-Break/ZX-Spectrum-Basic/loops-break-1.basic
Normal file
5
Task/Loops-Break/ZX-Spectrum-Basic/loops-break-1.basic
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
10 FOR l = 1 TO 20
|
||||
20 IF l = 10 THEN LET l = 20: GO TO 40: REM terminate the loop
|
||||
30 PRINT l
|
||||
40 NEXT l
|
||||
50 STOP
|
||||
5
Task/Loops-Break/ZX-Spectrum-Basic/loops-break-2.basic
Normal file
5
Task/Loops-Break/ZX-Spectrum-Basic/loops-break-2.basic
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
10 LET a = INT (RND * 20)
|
||||
20 PRINT a
|
||||
30 IF a = 10 THEN STOP
|
||||
40 PRINT INT (RND * 20)
|
||||
50 GO TO 10
|
||||
Loading…
Add table
Add a link
Reference in a new issue