<<

Contents

Search

>>

 

MACRO

 

 

Instruction

 

 

Syntax:

MACRO = <Macroname>

 

<Macroname> = <MACRONAME>

 

Meaning:

Executes a macro.

 

The macro <Macroname> is started. Macros can be nested up to any depth. Any macro can be called as submacro. After the macro has been finished – either by reaching the end of macro or by carrying out the instruction QUIT – program execution continues with the next instruction after the instruction MACRO ... . If a mask field is called with the instruction GOTO #..., the macro and all higher macros are closed and the mask field is selected. 

 

Attention: A <String-Expression> is possible for <Macroname>. In this case the macro has to exist in the program, i.e. the macro has to be called by name and not by <String-Expression> somewhere in the program, since otherwise the macro will not be generated. If at runtime a macro ist called by <String-Expression> which does not exist, an error message is displayed.

 

Parameter:

Macroname

Name of macro

 

Sample:

MACRO TEST.MACRO.2

MACRO "TEST.MACRO.2"

 

See also:

QUIT

CALL

GOTO

SUBPROGMACRO