summaryrefslogtreecommitdiff
path: root/src/user/app/kbasic/count.bas
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/kbasic/count.bas')
-rw-r--r--src/user/app/kbasic/count.bas7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/user/app/kbasic/count.bas b/src/user/app/kbasic/count.bas
new file mode 100644
index 0000000..5741a72
--- /dev/null
+++ b/src/user/app/kbasic/count.bas
@@ -0,0 +1,7 @@
+05 print "Let me count to 100:"
+10 a = 0
+20 print a;
+30 a = a + 1
+40 if a = 100 then goto 60
+50 goto 20
+60 end