at:tutorial:iat
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| at:tutorial:iat [2007/04/19 22:29] – created tvcutsem | at:tutorial:iat [2012/06/09 13:50] (current) – elisag | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Interactive AmbientTalk ====== | ====== Interactive AmbientTalk ====== | ||
| + | |||
| + | |||
| + | ===== Basic Usage ===== | ||
| The // | The // | ||
| < | < | ||
| > | > | ||
| - | >>[2,4,9] | + | >>[1,4,9] |
| </ | </ | ||
| - | To start '' | + | To start '' |
| + | |||
| + | < | ||
| + | iat [options] [file] [arguments] | ||
| + | </ | ||
| + | |||
| + | Perhaps the most useful usage of '' | ||
| + | < | ||
| + | iat foo.at | ||
| + | </ | ||
| + | |||
| + | This will make '' | ||
| + | |||
| + | To get an overview of all available options, execute: | ||
| < | < | ||
| iat --help | iat --help | ||
| </ | </ | ||
| + | |||
| + | < | ||
| + | An explanation of all the iat command line parameters is available [[http:// | ||
| + | </ | ||
| + | |||
| + | ===== Shell Commands ===== | ||
| + | |||
| + | The AmbientTalk shell understands a limited number of "shell commands" | ||
| + | * '': | ||
| + | * '': | ||
| + | |||
| + | ===== Input and Output ===== | ||
| + | |||
| + | The AmbientTalk shell enables very simple input and output operations by means of the top-level '' | ||
| + | |||
| + | < | ||
| + | system.println(" | ||
| + | </ | ||
| + | |||
| + | Reading a line of text from the command-line is a bit less straightforward: | ||
| + | |||
| + | < | ||
| + | system.readNextLine: | ||
| + | system.println(" | ||
| + | } catch: { |ioException| /* ignored */ } | ||
| + | </ | ||
| + | |||
| + | The code between '' | ||
| + | |||
at/tutorial/iat.1177014548.txt.gz · Last modified: (external edit)
