at:tutorial:iat
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
at:tutorial:iat [2007/04/19 22:29] – created tvcutsem | at:tutorial:iat [2009/02/09 13:58] – * 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 '' | ||
+ | |||
+ | ===== 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 '' | ||
+ | |||
+ | ===== Command-line Parameters ===== | ||
+ | |||
+ | To get an overview of all available options, execute: | ||
< | < | ||
iat --help | iat --help | ||
</ | </ | ||
+ | |||
+ | The most important options are explained below: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' |
at/tutorial/iat.txt · Last modified: 2012/06/09 13:50 by elisag