This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
at:tutorial:iat [2010/04/20 13:13] elisag moving |
at:tutorial:iat [2012/06/09 13:50] elisag |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Interactive AmbientTalk ====== | ||
- | |||
- | ===== Basic Usage ===== | ||
- | |||
- | The // | ||
- | < | ||
- | > | ||
- | >> | ||
- | </ | ||
- | |||
- | 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 | ||
- | </ | ||
- | |||
- | An explanation of all the options 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 '' | ||