diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-03-20 15:55:57 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-03-20 15:55:57 -0700 |
| commit | e665d9725c4bb02f4c18d16527367f424cb880fa (patch) | |
| tree | aed161ee6b338c2bad2312591f746459414ccafa /lib/core/io.nom | |
| parent | 606fd090002f3d545cbd58440e96624907846f45 (diff) | |
Auto-updated to 7.0.0 syntax and removed some shims.
Diffstat (limited to 'lib/core/io.nom')
| -rw-r--r-- | lib/core/io.nom | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/core/io.nom b/lib/core/io.nom index df52c92..c4f74d9 100644 --- a/lib/core/io.nom +++ b/lib/core/io.nom @@ -1,5 +1,6 @@ -#!/usr/bin/env nomsu -V6.15.13.8 -# +#!/usr/bin/env nomsu -V7.0.0 + +### This file contains basic input/output code use "core/metaprogramming" @@ -10,14 +11,12 @@ use "core/control_flow" external: (say (*extra arguments*)) means: - for $ in 1 to (select "#" (*extra arguments*)): + for $ in (1 to (select "#" (*extra arguments*))): $arg = (select $ (*extra arguments*)) $io.write ($arg as text) $io.write "\n" $io.flush() - (say $message inline) means ($io.write $message) - (ask $prompt) means: $io.write $prompt - return ($io.read()) + return ($io.read())
\ No newline at end of file |
