summaryrefslogtreecommitdiff
path: root/example/BASIC/sqrt1.bas
diff options
context:
space:
mode:
Diffstat (limited to 'example/BASIC/sqrt1.bas')
-rw-r--r--example/BASIC/sqrt1.bas5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/BASIC/sqrt1.bas b/example/BASIC/sqrt1.bas
new file mode 100644
index 0000000..6673a91
--- /dev/null
+++ b/example/BASIC/sqrt1.bas
@@ -0,0 +1,5 @@
+10 LET X = 0
+20 LET X = X + 1
+30 PRINT X, SQR(X)
+40 IF X < 100 THEN 20
+50 END