Error of HSP
When HSP found an error which is kind of a mistake of appointing or
lapsus calami of script during running of HSP , an error code and a line
number of error are shown. Then following dialog is shown.
HSP |
: error code nn |
|
in line xxx |
|
--> error message |
, that is showing that line xxx is error code nn. A connection
between error code and message is following.
A compiled middle code of HSP is wrong.
This error isn't usually shown. When file broken or
what HSP does't expect happened , this error is shown.
2 "Syntax Error"
When it is wrong how to write commands , variable name or label name , this is shown.
3 "Illegal function call"
When number of parameter goes over allowed range , this is shown.
4 "Wrong expression"
When it is wrong how to write a expression or you use a sign or calculation which isn't abel to use,
this is shown.
5 "No default parameter"
When a part which a parameter cannot ommit is omitted , this message is shown.
6 "Type mismatch"
When an appointed parameter is wrong type ( string or numeric) , this is shown.
When variables were appointed , variable type is wrong.
7 "Array overflow"
When an appointed number as element of array goes over number setted by dim or sdim commands,
this is shown.
8 "Not a label object"
When a parameter as label is wrong or there wasn't anything after [*],
this is shown.
9 "Too many nesting"
When gosub or repeat command has been practiced too many times, this is shown.
10 "Return without gosub"
When return command practiced though it isn't called by gosub command, this is shown.
11 "Loop without gosub"
When loop command practiced though no repeat command, this is shown.
12 "File I/O error"
When file operation is done, an appointed file isn't found or it can't access
access. Then, this is shown.
13 "Picture file missing"
When a picture file to load by picload command doesn't find , this is shown.
14 "External execute error"
When a external file was called by an exec command, some troubles happened.
Then, this is shown.
15 "Priority error"
When a form of parentheses[ (,) ] using to expression is wrong or correspondence of parentheses is wrong,
this is shown.
16 "Too many parameters"
When parameters appointed to a command is too many, this is shown.
17 "Temporary buffer overflow"
When allowable number on string operation is exceeded, this is shown.