diff options
Diffstat (limited to 'examples/how_do_i.nom')
| -rw-r--r-- | examples/how_do_i.nom | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/how_do_i.nom b/examples/how_do_i.nom index 906ef74..6e5d4d1 100644 --- a/examples/how_do_i.nom +++ b/examples/how_do_i.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V6.14 +#!/usr/bin/env nomsu -V6.15.13.8 # How do I... # Write a comment? Put a # and go till the end of the line # How do I write a multi-line comment? @@ -6,7 +6,7 @@ is considered part of the comment (including any deeper-level indented text) The comment ends when the indentation ends - + # How do I import a libarary? use "consolecolor" @@ -247,7 +247,6 @@ say (2 + 3) # If you need to keep going after an indented region, you can start the next line with ".." say both "Very very very very long first argument that needs its own line" ..and also "short second arg" - (my favorite number) means (21 + 2) # This can be nested: @@ -330,6 +329,7 @@ say (best of [2, -3, 4, -8] according to $($ squared)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ say (best of [2, -3, 4, -8] where $x has score ($x * $x)) + # The line above expands to: say result of: |
