[Oberon] Batch processing of Oberon commands
andreas_pirklbauer at yahoo.com
Thu Jun 11 20:52:51 CEST 2020
Extended Oberon now contains a simple batch processing facility,
which allows users to activate multiple commands as follows:
ORP.Compile A.Mod B.Mod C.Mod ~
MyModule.MyCommand A B C ~
which executes the set of commands until the return code
of any command is different from zero or the syntax is not
that of a valid Oberon command.
Any command can, but does not have to, set a return code by
calling the procedure Oberon.Return(res), for example:
within the command. This essentially sets a global variable
which can be checked after a command has been executed.
Oberon.Par.Res is reset to zero before command activation.
More information about the Oberon