diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-13 18:14:03 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-13 18:14:03 -0700 |
| commit | e82a8286b66175739b294a0797658a9370004e5a (patch) | |
| tree | 36d0ab299635ff216dc5956ff52783bf7c21fe1d /examples/how_do_i.nom | |
| parent | a176c7dfb5752748aad67467277bb61f66ccab79 (diff) | |
Removed io.write() stuff.
Diffstat (limited to 'examples/how_do_i.nom')
| -rw-r--r-- | examples/how_do_i.nom | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/how_do_i.nom b/examples/how_do_i.nom index 9aa15c6..486ea19 100644 --- a/examples/how_do_i.nom +++ b/examples/how_do_i.nom @@ -238,8 +238,7 @@ say both (..) # The "lua block %" and "lua expr %" macros can be used to write raw lua code: rule [say the time] =: lua block ".." - |io.write("The OS time is: ") - |io.write(tostring(os.time()).."\\n") + |nomsu:writeln("The OS time is: "..os.time()); say the time say "Math expression result is: \(lua expr "(1 + 2*3 + 3*4)^2")" |
