beautypg.com

ElmoMC SimplIQ Software Manual User Manual

Page 73

background image

SimplIQ

Software Manual

Program Development and Execution

MAN-SIMSW (Ver. 1.4)

6-11

Error
Code


Error String


Meaning


Example

65

Compiled code

is too long

The compiled code exceeds
the maximum space for the
Code Segment in the

SimplIQ

drive’s serial flash memory.

66

Corrupted the

SimplIQ

drive

setup files

The file containing the

SimplIQ

drive setup

parameters is not in the
defined format.

67

Too many

variables

The user program contains
too many functions and there
is not enough space for them
in the database.

68

Variable name

length

mismatch to

the

SimplIQ

drive setup

The allowed variable name
length does not equal the
length defined in the
Compiler.

69

Auto-routine

has argument

The auto-routine cannot have
any input or output
argument; otherwise, this
error occurs.

function AUTOEXEC (int a)

A definition of an auto-routine
with an input argument is
illegal.

70

Label

definition is

inside flow

control block

A label cannot be defined
inside a flow control block;
otherwise, this error occurs.

71

Function

without return

The function does not end
with the return keyword.

72

Block comments

is not

finished

The comment block has no
end.

Assume that the last line of user
program text is:
/* Just a comment

The comment block is not closed.

73

Bad function

after reset

A reset statement must
contain either an auto-routine,
global label or user function
without input arguments;
otherwise, this error occurs.

reset func(12)

A user function with an input
argument comes after a reset
keyword.

74

Bad jump to

label

Occurs when an attempt is
made to jump to:

ƒ

A global label from within
a function

ƒ

A local label from with a
global space

function func ()


return


goto##func

The last expression is illegal
because func is not a label.