at:tutorial:iat
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
at:tutorial:iat [2008/07/01 16:21] – added tvcutsem | at:tutorial:iat [2012/06/09 13:50] (current) – elisag | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Interactive AmbientTalk ====== | ====== Interactive AmbientTalk ====== | ||
+ | |||
===== Basic Usage ===== | ===== Basic Usage ===== | ||
Line 9: | Line 10: | ||
</ | </ | ||
- | To start '' | + | To start '' |
+ | |||
+ | < | ||
+ | iat [options] [file] [arguments] | ||
+ | </ | ||
Perhaps the most useful usage of '' | Perhaps the most useful usage of '' | ||
Line 18: | Line 23: | ||
This will make '' | This will make '' | ||
- | <note idea> | + | To get an overview of all available options, execute: |
- | If you started '' | + | |
+ | <code> | ||
+ | iat --help | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | An explanation of all the iat command line parameters | ||
</ | </ | ||
- | ===== Command-line Parameters | + | ===== Shell Commands |
- | To get an overview | + | The AmbientTalk shell understands a limited number |
+ | * '': | ||
+ | * '': | ||
+ | |||
+ | ===== Input and Output ===== | ||
+ | |||
+ | The AmbientTalk shell enables very simple input and output operations by means of the top-level '' | ||
< | < | ||
- | iat --help | + | system.println(" |
</ | </ | ||
- | The most important options are explained below: | + | Reading a line of text from the command-line is a bit less straightforward: |
- | * '' | + | |
- | * '' | + | <code> |
- | * '' | + | system.readNextLine: |
+ | system.println("I read: "+line) | ||
+ | } catch: { |ioException| /* ignored | ||
+ | </ | ||
+ | |||
+ | The code between |
at/tutorial/iat.1214922094.txt.gz · Last modified: 2008/07/01 16:23 (external edit)