ElmoMC SimplIQ Software Manual User Manual
Page 64

SimplIQ
Software Manual
Program Development and Execution
MAN-SIMSW (Ver. 1.4)
6-2
The following table enumerates the list of compilation errors.
Error
Code
Error String
Meaning
Example
0
No errors
Successful compilation
without errors.
1
Bad format
General error for bad syntax
in right- or left-hand
expression.
for k = 1::10
Double colon between 1 and 10.
b = a + ()
Empty expression in
parentheses.
k = 1:2:20
Colon expression used out of
for
statement.
2
Empty
expression
Expected right-hand
expression is missing.
a = ;
Right-hand expression is missing
after assignment symbol.
3
Stack is full
Stack has overflowed its
capacity.
4
Bad index
expression
An index expression of a
variable is not evaluated in a
single value.
a(2,3)
The result of evaluation of the
expression in parentheses is two
values, not a single value.
a()
The index expression is empty.
5
Bad variable
type
The expected variable type is
neither float nor int. This
error may appear either after
the global keyword or after
input/output arguments at
function definition.
global floa a;
The variable type is expected
after the global keyword. The
type floa is unknown.
function func (long a)
The input argument type is
expected in parentheses. Here,
the type long is unknown.
6
Parentheses
mismatch
The number of opening
parentheses does not match
the number of closing
parentheses. This applies to
both parentheses and square
brackets.
b = a(1))
There is an unneeded closing
parenthesis.
7
Value is
expected
A right- or left-hand
expression is not evaluated in
a single value or it has failed
during evaluation due to a
bad syntax expression.
b = ^ a ;
A value is expected before the
^
operator.