HARSFEN0602
error occurs.
For example,
if a < 0
break ;
end
‘break’ from ‘if’ statement is illegal.
50 Too many outputs This error appears when number actual output arguments during function call
exceeds the number of output arguments during function definition.
For example,
function [int b] = foo (int a) ** Function definition
… ** Function body
return ; ** Function end
[c,d] = foo(a) ; ** Function call
Function call is illegal, because number of outputs is two, while this function
is defined with a single output argument.
51 Line is too long This error occurs if user program contains too long line (more than 128
characters).
52 Clause is too long This error occurs if user program contains too long expression to evaluate
(more than 512 characters). This expression may take several lines of user
program text.
53 Cannot find end of
sentance End of sentence not found within range
54 Open file failure Attempt to open non-existing file: file name or its path may be not correct.
55 Bad file name The full path file name is too long.
56 No such function After ‘goto’ and ‘reset’ statement must be auto routine, user function or label
name, otherwise this error appears.
57 Variable is array This error occurs during attempt to assign the entire array variable, not its
single member.
For example,
int arr[10] ; ** Global variable definition
##START ** Label definition
arr[1] = 0 ;
arr = 0;
The last expression is not legal: attempt to assign the whole array.
58 Variable is not array Attempt to assign a scalar variable according to an index, as an array
For example,
int a1 ; ** Global variable definition ( scalar)
##START ** Label definition
a1[1] = 0 ;
The last expression is not legal: attempt to assign a scalar variable according
to an index.
59 Mismatch between left
and right hand side
expressions
This error appears if the number of left values does not match to the number
of values in right hand side expression.
For example,
[a,b] = 12 + c ;
The number of left values is two, while the number of values after evaluation
of right hand expression is one.
60 Illegal local array Syntax does not allow to define local array. Array must be global.
For example,
function foo (int a) ** Function definition
int arr[10] ;
… ** Function body
return ; ** Function end
Local array is illegal
61
Function already has
This error occurs if function has more than one body.