beautypg.com

ElmoMC SimplIQ Software Manual User Manual

Page 71

background image

SimplIQ

Software Manual

Program Development and Execution

MAN-SIMSW (Ver. 1.4)

6-9

Error
Code


Error String


Meaning


Example

49

Misplaced

break

Break is legal only inside a
switch, for or while block;
otherwise, this error occurs.

If a < 0

break ;

end

break in an if statement is
illegal.

50

Too many

outputs

The number of actual output
arguments during a function
call exceeds the number of
output arguments during
function definition.

function [int b] = func

(int a)


return ;


[c,d] = func(a) ;

The function call is illegal
because the number of outputs is
two, while this function is
defined with a single output
argument.

51

Line is too

long

User program contains a line
of more than 128 characters.

52

Clause is too

long

User program contains an
expression for evaluation that
contains more than 512
characters. This expression
may take several lines of user
program text.

53

Cannot find

end of

sentence

End of sentence not found
within range.

54

Open file

failure

There has been an attempt to
open a non-existing file; the
file name or path may be
incorrect.

55

Bad file name

The full file path is too long.

56

No such

function

An auto-routine, user function
or label name must follow a
goto and reset statement;
otherwise, this error occurs.

57

Variable is

array

An attempt has been made to
assign the entire variable
array, not its single member.

int arr[10];

##START

arr[1] = 0;

arr = 0

The last expression is illegal
because it tries to assign the
entire array.