dos_compilers/Microsoft QuickBASIC v3/DEMO.BAS

12 lines
211 B
QBasic
Raw Normal View History

2024-07-01 22:00:14 +02:00
defint a-z
startrow=1:startcol=16
for row = 0 to 10
locate startrow+row,startcol-row
for x = startcol-row to startcol+row
locate startrow+row,x
print "*"
next x
next row