From 8848ad8a546627e1e935c46950c7a9df759b320e Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 13 Mar 2025 19:38:52 +0200 Subject: increase priority for loops --- examples/global-loop.ph | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 examples/global-loop.ph (limited to 'examples/global-loop.ph') diff --git a/examples/global-loop.ph b/examples/global-loop.ph new file mode 100644 index 0000000..2381537 --- /dev/null +++ b/examples/global-loop.ph @@ -0,0 +1,9 @@ +var sum = 0 +var idx = 0 + +do + sum = sum + idx, + idx = idx + 1 +until idx = 1000000001, + +print sum -- cgit v1.2.3