ElmoMC SimplIQ Software Manual User Manual

Page 74

Advertising
background image

SimplIQ

Software Manual

Program Development and Execution

MAN-SIMSW (Ver. 1.4)

6-12

Error
Code


Error String


Meaning


Example

ƒ

A global label from within
a global space at a goto
statement

ƒ

A non-label at a goto label

ƒ

A local label at a reset
statement

75

Illegal

nargout

The nargout keyword is used
outside a function.

##START

if nargout > 2

The keyword nargout is used
outside a function.

76

Function

without body

An attempt has been made to
call a function that has been
defined but does not have a
body.

77

Bad goto

statement

The goto keyword must be
followed by ## or #@ before
the name of a label; otherwise,
this error occurs. This error
may also occur if there is a
goto statement within the
body of a for loop.

goto START

Between goto and the label
name, ## or #@ is missing.

for k = 1:10


goto##START

end

The goto statement in the for
loop is illegal.

78

Auto routine

is local

An auto-routine is defined as
a local label.

function start (int a)


#@AUTOEXEC


return

The AUTOEXEC auto-routine is
defined inside a function as a
local label.

79

Command has

‘not program’

flag

The program refers to a
command that has a “Not
program” flag; that is, it
cannot be used inside a user
program.

LS

The program attempts to use the
LS flag, which has a “Not
program” flag defined for it.

80

Image file too

long

The Image file length exceeds
the user code partition size.

Advertising