You are here: Error Messages

Runtime Error Messages

Use the following table to resolve any error messages you may receive.

Message

Number

Description

Out of memory

1

The calculation needs more memory than is available. Make more memory available to the program and try again.

Open failure on script file

2

The file containing the calculation cannot be opened. This may mean the file does not exist; is protected from reading; or that the file is not located in the default directory established by your INI file option. The default directory is usually DefLib.

Syntax error

3

A calculation contains invalid information or does not use proper statement syntax.

Wrong number of parameters

4

A built-in function or procedure requires more parameters than are provided.

Wrong type of parameter

5

A built-in function or procedure expects a particular type of parameter. This may mean that the variable type used is not automatically converted to the type required by the routine.

Invalid or unknown symbol

6

A character (or set of characters) does not correspond to a known operator or keyword. Can also indicate that you need to add a Return statement.

Invalid assignment statement

7

The assignment statement fails to provide a valid source expression or destination variable.

Cannot modify target

8

A statement attempted to change the value of an identifier that cannot be changed.

Unexpected internal error

9

A calculation caused an unexpected error or event that cannot be corrected.

Missing/mismatched parenthesis

10

The number of open parentheses does not match the number of close parentheses.

Invalid IF statement

11

An IF statement contains or fails to contain a keyword.

Unexpected end of script

12

The end of the script occurred before the current statement could be fully evaluated. This may be due to the script being incomplete or an inability to read the entire script.

Invalid expression syntax

13

Generates due to a number of problems, such as: an expression fails to yield a result or encounters an unknown variable type.

Attempt to divide by zero

14

An attempt to divide a value by zero was found. Division by zero is undefined and must be avoided.

No result value returned

15

An expression expects a return value when calling a procedure. Only functions can return values. This error may also result if a RETURN statement is missing from a file that has been invoked with a CALL statement.

Statement label already used

16

Another label with the same name has been found within the script.

Unknown statement label

17

A GOTO statement names a label that does not occur within the script.

Invalid statement label

18

An invalid label was found.

Illegal label location

19

A GOTO statement attempted to locate a label within an IF statement. A GOTO statement can jump from an IF statement, but not into an IF statement.

Function out of place

20

A function was called but the statement does not expect a return value. Since a function must return a value, the call must be an error.

Illegal parameter value

21

A built-in function or procedure passed a parameter value that is not valid.