Time for an 2014 update…
This commit is contained in:
parent
372c577f83
commit
09687c4926
2520 changed files with 34227 additions and 7318 deletions
19
Task/Loops-For/BASIC/loops-for-7.basic
Normal file
19
Task/Loops-For/BASIC/loops-for-7.basic
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
OPENCONSOLE
|
||||
|
||||
FOR X=1 TO 5
|
||||
|
||||
FOR Y=1 TO X
|
||||
|
||||
LOCATE X,Y:PRINT"*"
|
||||
|
||||
NEXT Y
|
||||
|
||||
NEXT X
|
||||
|
||||
PRINT
|
||||
|
||||
CLOSECONSOLE
|
||||
|
||||
END
|
||||
|
||||
'Could also have been written the same way as the Creative Basic example, with no LOCATE command.
|
||||
Loading…
Add table
Add a link
Reference in a new issue