summaryrefslogtreecommitdiff
path: root/apps/examples/bastest/tests/test31.bas
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/bastest/tests/test31.bas')
-rw-r--r--apps/examples/bastest/tests/test31.bas7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/examples/bastest/tests/test31.bas b/apps/examples/bastest/tests/test31.bas
new file mode 100644
index 000000000..d168bd072
--- /dev/null
+++ b/apps/examples/bastest/tests/test31.bas
@@ -0,0 +1,7 @@
+10 for i=-8 to 8
+20 x=1+1/3 : y=1 : j=i
+30 for j=i to -1 : x=x/10 : y=y/10 : next
+40 for j=i to 1 step -1 : x=x*10 : y=y*10 : next
+50 print x,y
+60 next
+