beautypg.com

ElmoMC SimplIQ Software Manual User Manual

Page 72

background image

SimplIQ

Software Manual

Program Development and Execution

MAN-SIMSW (Ver. 1.4)

6-10

Error
Code


Error String


Meaning


Example

58

Variable is

not array

An attempt has been made to
assign a scalar variable
according to an index, as an
array.

int a1; (scalar)

##START

a1[1] = 0;

The last expression is illegal
because it tries to assign a scalar
variable according to an index.

59

Mismatch

between left-

and right-hand

side

expressions

The number of left values
does not match the number of
values in the right side of the
expression.

[a,b] = 12 + c;

The number of values on the left
is two, while the number of
values after evaluation of the
right-hand expression is 1.

60

Illegal local

array

Syntax does not allow
definition of a local array. The
array must be global.

function func (int a)

int arr[10];

return;

Local array is illegal.

61

Function

already has

body

Function has more than one
body.

function func (int a)

wait 2000

return ;

function func (int a)

until a

end

Text is illegal because function
func has multiple bodies.

62

Opcode is not

supported by

SimplIQ

drives

The specified version of the

SimplIQ

drive does not

support a certain virtual
command.

63

Internal

compiler error

If this occurs, email technical
support at [email protected].
Attach the Composer date
and version (in the Help
menu) and the program you
have attempted to compile.

64

Expression is

not finished

The user program contains an
unfinished sentence: an
ellipsis (…) may be missing to
indicate that the expression is
continued on the next line.

The last line of user text may be:
a = b + 8 / 12 /

(8^2*sqrt(2) - sin

(3.14/2))

After the ellipsis, the next line
should appear, but in this case it
is missing.