Chapter 3 Creating and Editing Screens
END (End the Macro)
Equation
Statemenets1 END Statements2
Explanation
End command is used to end the macro program and all statements after the END
command will not be executed. If this command is in a main macro then the program
will go to the first line again and begin execution, if this command is in a sub-macro
then the sub-macro will end and the program will return to the previous program.
Remark
It executes the Statemenets1 and then ends the macro executing. It does not
execute the Statements2.
Statement is the combination of a section of macro commands and also can be
within the nested loop.
If there is END command in sub-macro, the program ends here. If the user
wants to return to the previous macro program, please user RET command.
Example
After the operation, the result is $1 = 11, not $1 = 12 as the END command has
ended the macro program.
3.14.3.7 Bit Setting
There are various kinds of commands for Bit setting. For more details, please refer to
the following sections.
BITON (Set Specific Bit to be ON )
Equation
BITON Var1
Explanation
This command sets Var1 bit to be ON.
Revision May, 2010 3-351