summaryrefslogtreecommitdiff
path: root/apps/examples/bastest/tests/test17.bas
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/bastest/tests/test17.bas')
-rw-r--r--apps/examples/bastest/tests/test17.bas9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/examples/bastest/tests/test17.bas b/apps/examples/bastest/tests/test17.bas
new file mode 100644
index 000000000..bfe0c9c2c
--- /dev/null
+++ b/apps/examples/bastest/tests/test17.bas
@@ -0,0 +1,9 @@
+print "loop started"
+i=1
+do
+ print "i is";i
+ i=i+1
+ if i>10 then exit do
+loop
+print "loop ended"
+