AMT Help Files
Home LION Language Reference Syntax Routines

Routines

To implement a new (local) routine, you must use the instruction ROUTINE...BEGIN_ROUTINE...END_ROUTINE. The building of global routines is much like the building of other LION objects.

To call a routine, you need to specify its name in the code, followed by the parameters (optional) that need to be passed to the routine. To use external routines, you can use the CALL command.

Contents

 Go to top