- Sep
- 134
- 1
Demoscript to show the problem:
After reaching the LEAVE it seems, that parser will go another way, because it will show error messages:
"No closing quote."
Code:
Do z = 0 To 10
If %@EVAL[%z% MOD 2] EQ 0 ITERATE
If %z% EQ 7 LEAVE
Echo Z:%z
COMMENT
@SUBSTR[string,start,length]
: An older version of @INSTR.
If the length is omitted, it will default to the remainder of string.
!!! If string includes commas, it must be quoted with double quotes ["] or
!!! back-quotes [`], or each comma must be preceded by an Escape character.
!!! The quotes count in calculating the position of the substring.
@INSTR, which has string as its last parameter, does not have this restriction.
ENDCOMMENT
EndDo
"No closing quote."