Maple Systems Silver Plus Series Installation And Operation Manual page 259

Hide thumbs Also See for Silver Plus Series:
Table of Contents

Advertisement

Mac ros
• (4): "Function name error:" 'identifier' - Reserved keywords and constant can not be the name of a
function
• (5): "Statement missing" ; Statement missing "(" or ")" - Some part of the Statement is missing,
typically it is a missing parentheses
• (6): "Missing expression in 'If' statement"
• (7): "Missing "Then" in If statement"
• (8:) "Missing "EndIf" " ;
• (9:) Unfinished "If' statement before "End If" " ;
• (10:) "Illegal Else statement" ;
• (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" ;
• (22:)" "While" statement error: missing "While" before "Wend" " ;
• (23:)Missing "Wend" statement" ;
• (24:) "Illegal "Break" statement" ;
• (25:)"Illegal "Continue" statement" ;
• (26:)"Expression error" ;
• (27:) Illegal operation object" ;
• (28:)"Missing "Sub" " ;
• (29:)"Missing "Macro_Command" " ;
Next g[2]
End Macro_Command
Macro_Command If( )
name
Macro_Command main )
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.
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.
The format of "While" statement is:
While [logic expression]
Wend
Any format other than this format will cause compile error.
"Break" statement can only be used in "For", "While", or "Select
Case" statement
"Break" statement takes one line of Macro.
"Continue" statement can only be used in "For" statement, or "While"
statement
"Continue" statement takes one line of Macro.
The mismatch of operation object in expression cause compile error.
For example :
Macro_Command main( )
int g[10]
For g[2] = 0 To 2
g[3] = 4 + XYZ
Next g[2]
End Macro_Command
The format of function declaration is: Sub(Macro_Command) [data type]
function_name( ... )
End Sub(Macro_Command)
//<- illegal – used 'If' in the
//<- illegal – missing '('
<- illegal – XYZ is undefined
255
1010-1007, Rev 05

Advertisement

Table of Contents
loading

Table of Contents