dos_compilers/Microsoft QuickBASIC v200/DEMO.BAS

12 lines
211 B
QBasic
Raw Normal View History

2024-07-01 19:35:17 +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