diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-03-13 19:38:52 +0200 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-03-13 19:38:52 +0200 |
commit | 8848ad8a546627e1e935c46950c7a9df759b320e (patch) | |
tree | 37edc965e348f2fd5433533ad963f7bd41be8a05 /examples/global-loop.ph | |
parent | 1283d90da7c16bf0e44118e0e9130f2274e2a0f8 (diff) | |
download | posthaste-8848ad8a546627e1e935c46950c7a9df759b320e.tar.gz posthaste-8848ad8a546627e1e935c46950c7a9df759b320e.zip |
increase priority for loops
Diffstat (limited to 'examples/global-loop.ph')
-rw-r--r-- | examples/global-loop.ph | 9 |
1 files changed, 9 insertions, 0 deletions
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 |