Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
19
Task/Loops-Foreach/Creative-Basic/loops-foreach.basic
Normal file
19
Task/Loops-Foreach/Creative-Basic/loops-foreach.basic
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
DEF AnArray[11]:INT
|
||||
|
||||
AnArray=0,1,2,3,4,5,6,7,8,9,10
|
||||
|
||||
'A console only program will work without OPENCONSOLE and
|
||||
'CLOSECONSOLE; however, it does not hurt to use them.
|
||||
OPENCONSOLE
|
||||
|
||||
FOR X=0 TO 10
|
||||
PRINT AnArray[X]
|
||||
NEXT X
|
||||
|
||||
'keep the console from closing right away.
|
||||
DO:UNTIL INKEY$<>""
|
||||
|
||||
CLOSECONSOLE
|
||||
|
||||
'because this is a console only program.
|
||||
END
|
||||
Loading…
Add table
Add a link
Reference in a new issue