2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -1,6 +1,19 @@
|
|||
for i = 1 to 5
|
||||
for j = 1 to i
|
||||
print "*";
|
||||
next
|
||||
print
|
||||
next
|
||||
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