diff options
| author | Baitinq <[email protected]> | 2025-01-19 13:55:58 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-01-19 14:09:32 +0100 |
| commit | 01d27c6e43771353ad9ce1d63f546a122735f0ce (patch) | |
| tree | a2ed9a4817f770d141af7b59e210439534d28ee0 /examples | |
| parent | Example: Get fibonacci example working (diff) | |
| download | pry-lang-01d27c6e43771353ad9ce1d63f546a122735f0ce.tar.gz pry-lang-01d27c6e43771353ad9ce1d63f546a122735f0ce.tar.bz2 pry-lang-01d27c6e43771353ad9ce1d63f546a122735f0ce.zip | |
Feature: Add support for boolean values
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/9.src | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/9.src b/examples/9.src new file mode 100644 index 0000000..d21ae71 --- /dev/null +++ b/examples/9.src @@ -0,0 +1,10 @@ +let main = () => { + let i = true; + + if i { + print(i); + return 1; + }; + + return 0; +}; |