dos_compilers/Microsoft QuickBASIC v200/SQUARE.BAS

9 lines
164 B
QBasic
Raw Permalink Normal View History

2024-07-01 19:35:17 +02:00
defint a-z
sub square(starta) static
for x = starta to (starta+5)
for y = (starta) to (starta+5)
locate x,y:print "*"
next y
next x
end sub