nuttx-apps/examples/bastest/tests/test19.bas

21 lines
244 B
QBasic
Raw Normal View History

for x=1 to 3
if x=1 then
print "1a"
else
if x=2 then
print "2a"
else
print "3a"
end if
end if
next
for x=1 to 3
if x=1 then
print "1b"
elseif x=2 then
print "2b"
elseif x=3 then print "3b"
next