next up previous contents index
Next: Simulation of loops Up: Command files Previous: Command files   Contents   Index


A command file is a file containing a succession of commands understood by the command interpreter. It resides usually in the command directory which is fixed in the initialization file (cf. 3.4). It is invoked by a command

- interpcom -> <name_of_file arg1 arg2 ...

where name_of_file is the name of the command file, and arg1, arg2,... are the arguments (if any, cf. 4.2). It the command file is somewhere else than in the command directory, its address relatively to this directory must be given, instead of its name.

A command file can call other command files or programs too. Comments may be written in command files, in lines beginning with the character ; .