aboutsummaryrefslogtreecommitdiff
path: root/examples/ok-loop-huge.ph
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ok-loop-huge.ph')
-rw-r--r--examples/ok-loop-huge.ph9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/ok-loop-huge.ph b/examples/ok-loop-huge.ph
new file mode 100644
index 0000000..2381537
--- /dev/null
+++ b/examples/ok-loop-huge.ph
@@ -0,0 +1,9 @@
+var sum = 0
+var idx = 0
+
+do
+ sum = sum + idx,
+ idx = idx + 1
+until idx = 1000000001,
+
+print sum