The @SYNTAX statement can be used to activate or deactivate test mode for input in L mode. If the test mode is activated then statements input in L mode are not executed
(a syntax check of statements is always performed independently of the set test mode).
Operation | Operands | F mode, L mode |
@SYNTAX | TESTMODE [={ ON | OFF } ] |
TESTMODE= | The |
ON | The statements are subjected to a syntax check but are not executed (this The following statements are always executed even if test mode is active:
The following statements and operands are not checked:
|
OFF | Test mode is deactivated. |
Test mode is always deactivated when EDT is started.
The @STATUS statement can be used to output the current setting for the test mode.
In L mode, if test mode is active, then not only is the invalid statement identified. The position at which the error was detected is also marked with :
. If no errors are detected in a statement then the message EDT0100
is output in the dialog.
Note
If the syntax of the text
operand is to be checked in the statements @, @+, @- and @SET (format 6) then the statement must be split into two statements, e.g. @3:@... should be split into the two statements @3 and @...