When a TOM program starts, the following sequence of actions is taken:
argv[0], in
tom.ByteString objects into tom.Runtime.all_arguments.
Set the tom.Runtime.program_name and
tom.Runtime.long_program_name from argv[0].
in, out, and err streams of
tom.stdio.
void load
Array arguments, with the arguments collected from the command line. A
load imp is allowed to recognize options and remove them from the
arguments. It is customary for such options to start with a colon (`:')
instead of a dash (`-').
tom.Runtime.arguments.
class tom.Runtime:
int
start (All, selector) (object, sel)
arguments Array arguments;
where the sel is the selector for the main method to be invoked,
which normally is int main Array arguments. The object is
the receiver of this message, normally a class object.
Go to the first, previous, next, last section, table of contents.