You may encounter the following syntax errors:
Syntax error message |
Description and correction |
---|---|
condition parsing error |
Syntax error in a boolean expression |
expecting .endif |
Add a .endif |
.else with no matching .if |
Add a .if to the .else |
.endif with no matching .if |
Add a .if to the .endif |
expecting .next |
Add a .next |
expecting .end%s |
Add a .end%s (for example, .endunique, .endreplace, ...) |
.end%s with no matching .%s |
Add a .macro to the .endmacro |
.next with no matching .foreach |
Add a .foreach to the .next |
missing or mismatched parentheses |
Correct any mismatched braces |
unexpected parameters: extra-params |
Remove unnecessary parameters |
unknown macro |
The macro is not valid |
.execute_command incorrect syntax |
The correct syntax is displayed in the Preview tab, or in the Output window. It should be: .execute_command(executable [,arguments[,{cmd_ShellExecute|cmd_PipeOutput}]]) |
Change_dir incorrect syntax |
The syntax should be: .change_dir(path) |
convert_name incorrect syntax |
The syntax should be: .convert_name(name) |
convert_code incorrect syntax |
The syntax should be: .convert_code(code) |
set_object incorrect syntax |
The syntax should be: .set_object(local-var-name [,[scope.] object-scope [,{new|update}]]) |
set_value incorrect syntax |
The syntax should be: .set_value(local-var-name,simple-template[,{new|update}]) |
execute_vbscript incorrect syntax |
The syntax should be: .execute_vbscript(script-file [,script-input_params]) |