Synopsis
A literal string, or the name of a variable, was expected.
Cause
You followed an ADDRESS keyword with some expression that doesn't make sense as an environment name.
Cure
Make sure that you specify legal environment names. Note that even if you put a variable name after ADDRESS, Reginald will not substitute the value of that variable. It will use the variable's name verbatim as the environment name. For example:
My_Var = "CMD" ADDRESS My_VarThe above selects an environment named "My_Var", not "CMD".
Cause
You followed the NAME keyword (such as in SIGNAL ON <some condition> NAME) with an expression that isn't a legal label name.
Cure
Make sure that you have specified a legal label name. The restrictions upon a label name are the same as the restrictions upon a variable name.
Cause
You followed the SIGNAL keyword with an expression that isn't a legal label name.
Cure
Make sure that you have specified a legal label name.
Cause
You followed the TRACE keyword with an expression that isn't a literal string or a variable name containing the TRACE options.
Cure
If you are directly specifying the options, then put quotes around them. Otherwise, make sure that the value of the variable does not equate to something like the literal string "CALL myfunc()".
Cause
You followed the PARSE keyword with a pattern that isn't a literal string or a variable name containing the PARSE pattern.
Cure
If you are directly specifying a pattern, then put quotes around it. Otherwise, make sure that the value of the variable does not equate to something like the literal string "CALL myfunc()".