InstallShield 2016 » InstallScript Language Reference
Syntax errors prevent the file Setup.inx from being created and cause the compiler to display one of the error messages in the list below. A single syntax error can cause the compiler to generate more than one error message. The first error message is triggered by the syntax error. The others are triggered because the compiler is not able to resolve the statement or statements that follow the error.
Tip • If your script generates more than one syntax error, correct the first one in the list and then recompile. By correcting the first error, you might eliminate one or more of the others.
Error Number |
Message |
multiple main programs defined |
|
function name expected |
|
function has no prototype declaration |
|
identifier already declared |
|
function was declared as DLL function |
|
missing '(' after function name |
|
comma expected |
|
identifier expected |
|
too many parameters |
|
missing right parenthesis |
|
missing 'begin' at start of function |
|
semicolon expected |
|
unexpected end of source file |
|
identifier already defined |
|
member name already defined |
|
undefined label: |
|
expected typedef (struct) name |
|
typedef object illegal in this context |
|
expected type declaration |
|
parameter list expected |
|
missing 'begin' after 'typedef' |
|
comma or semicolon expected |
|
right bracket expected |
|
invalid array/string size |
|
undefined identifier |
|
invalid use of identifier |
|
missing operand |
|
unresolved operator |
|
uncalled function |
|
missing member reference |
|
unsubscripted array |
|
missing expression |
|
statement label required |
|
too many arguments |
|
variable required |
|
numeric value required |
|
string value required |
|
incomplete argument list |
|
string or array type required |
|
typedef pointer type required |
|
typedef type required |
|
member name not found |
|
numeric variable required |
|
can only take address of variable |
|
macro name missing |
|
missing expression for #if/#elif |
|
invalid expression for #if/#elif |
|
missing end of string literal |
|
macro expansion text too large |
|
identifier not a #define macro |
|
include file name missing |
|
#elif not preceded by #if |
|
#else not preceded by #if |
|
#endif not preceded by #if |
|
unrecognized preprocessor command |
|
constant operand required |
|
input line too long |
|
unterminated comment |
|
string literal exceeds 255 characters |
|
missing #endif statement at end of file |
|
integer constant too large |
|
unrecognized character encountered |
|
preprocessor command must be first on line |
|
string constant expected |
|
colon expected |
|
'elseif' cannot follow 'else' |
|
missing 'then' keyword |
|
'else' clause already encountered |
|
'default' label already encountered |
|
multiple case labels for statement |
|
label already defined |
|
label illegal in this 'for' loop |
|
invalid statement |
|
missing arguments for function |
|
invalid result for assignment |
|
missing '(' after switch |
|
missing ')' after switch |
|
missing 'case' after switch |
|
missing '=' |
|
missing 'to' or 'downto' |
|
cannot return value from program |
|
not inside if statement |
|
not inside for statement |
|
not inside repeat statement |
|
not inside while statement |
|
function called but not defined |
|
size required for string in typedef |
|
syntax error |
|
missing '.name' after DLL name |
|
DLL function name expected |
|
function not defined for this DLL |
|
must specify DLL for this function |
|
typedef includes instance of self |
|
local variables cannot be external |
|
preprocessor user define error |
|
'text' : string variable required |
|
label illegal within try/catch/endcatch |
|
goto illegal within try/catch/endcatch |
|
Access is denied. |
See Also
InstallShield 2016 Help LibraryAugust 2016 |
Copyright Information | Flexera Software |