The format of “If” statement is:
If [logic expression]Then
[ Else [If [logic expression] Then ] ]
EndIf
Any format other than this format will cause compile
error.
· (11:)"There should be constant behind “Case” “ ;
· (12:)"Missing “Case” behind “Select” “ ;
· (13:)"Missing “expression” behind “Select Case” “ ;
· (14:)"Missing “End Select” statement
· (15:) Illegal “Case” statement" ;
· (16:)"Unfinished “Select” statement before “End Select” “ ;
The format of “Select Case” statement is:
Select Case [expression]
Case [constant]
Case [constant]
Case [constant]
Case Else
End Select
Any format other than this format will cause compile
error.
· (17:)" “For” statement error: missing “For” before “Next” “ ;
· (18:)"Should be integer of char variable" ;
· (19:)"Missing assign statement" ;
· (20:)"Missing keyword “To” “
· (21:)"Missing “Next” statement" ;
The format of “For” statement is:
For [variable] = [initial value] To [end value] [Step]
Next [variable]
Any format other than this format will cause compile error.
· (22:)" “While” statement error: missing “While” before “Wend” “ ;
· (23:)Missing “Wend” statement" ;
The format of “While” statement is:
While [logic expression]
Wend
Any format other than this format will cause compile error.
· (24:) “Illegal “Break” statement” ;
“Break” statement can only be used in “For”, “While”, or “Select
Case” statement
“Break” statement takes one line of Macro.
· (25:)"Illegal “Continue” statement" ;
“Continue” statement can only be used in “For” statement, or “While”
statement
“Continue” statement takes one line of Macro.
· (26:)"Expression error" ;
· (27:) Illegal operation object" ;
The mismatch of operation object in expression cause compile error.
For example :
Macro_Command main( )
int g[10]
For g[2] = 0 To 2
1010-1001a, Rev 02
258 Sil ver Se ries In stal la tion & Op er a tion Man ual