summaryrefslogtreecommitdiff
path: root/apps/examples/bastest/tests/test03.bas
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/bastest/tests/test03.bas')
-rw-r--r--apps/examples/bastest/tests/test03.bas16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/examples/bastest/tests/test03.bas b/apps/examples/bastest/tests/test03.bas
new file mode 100644
index 000000000..5d991d330
--- /dev/null
+++ b/apps/examples/bastest/tests/test03.bas
@@ -0,0 +1,16 @@
+ 10 for i=0 to 10
+ 20 print i
+ 30 if i=5 then exit for
+ 40 next
+ 50 for i=0 to 0
+ 60 print i
+ 70 next I
+ 80 for i=1 to 0 step -1
+ 90 print i
+100 next
+110 for i=1 to 0
+120 print i
+130 next
+140 for i$="" to "aaaaaaaaaa" step "a"
+150 print i$
+160 next