diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2023-03-04 01:19:17 -0800 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2023-03-04 01:21:14 -0800 |
| commit | 2127b746f0eecb657b31653ad5967623f994cbaf (patch) | |
| tree | 9df6e054410102ed620aae7b497f0dce66b6efc3 /examples/while.pcdt | |
| parent | f52050d53e698975d6598da86ddd99100ae70fdf (diff) | |
added any(), all(), one(). replaced not() with none()
Diffstat (limited to 'examples/while.pcdt')
| -rw-r--r-- | examples/while.pcdt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/while.pcdt b/examples/while.pcdt new file mode 100644 index 0000000..7a267fc --- /dev/null +++ b/examples/while.pcdt @@ -0,0 +1,5 @@ +store(0, "i") +while(none(eq(i, 10)), ( + print(i); + update(sum(i, 1), "i") +)) |
