summaryrefslogtreecommitdiffstats
path: root/third_party/python/ply/example/BASIC/sqrt1.bas
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/ply/example/BASIC/sqrt1.bas')
-rw-r--r--third_party/python/ply/example/BASIC/sqrt1.bas5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/python/ply/example/BASIC/sqrt1.bas b/third_party/python/ply/example/BASIC/sqrt1.bas
new file mode 100644
index 0000000000..6673a91524
--- /dev/null
+++ b/third_party/python/ply/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