OWBasic for Pocketviewer

Home INTRO Group RUNTIMEERROR Alphabetical Index

Raise an Error

ERROR procname$,errornumber

This procedure raises an error in the same way as builtin procedures do. This can be used in user procedures. As parameters use the procedure name and a number for the errormessage:

NumberMessage
0Syntax error
1Unbalanced parenthesis
2No expression present
3
4L-value expected
5Symbol table full
6Double defined label
7
8Call stack underflow
9Call stack overflow
10Too many nested controls
11Controls unbalanced
12Type already exists
13Last code reached
14Expression delimiter expected
15No open IF
16Unknown type
17Unknown function
18No open FOR
19Default argument missing
20Undefined constant
21Unclosed IF
22Type mismatch
23Unclosed FOR
24Undefined variable
25
26
27Not implemented
28Global variable exist
292D-Array needed
30Index out of range
31Array variable used before DIM
32String too long
33Memory full
34String stack underflow
35String stack overflow
36Negative argument
37Label expected
38Wrong parameter
39Failed
40Unknown procedure
41Invalid code address
42Include stack overflow
43Include file not found
44Append file not found
45Error position found
46Too many parameters
47Too less parameters
48Nested procedure
49ENDP without PROC
50PROC or FUNC not at begin
51Wrong version
52Procedure already exists
53Interrupted
54Undefined label
55Expected constant expression
56Pointer expected
57Division by 0
58Wrong mode
59No valid icon
60No more data
61Not found
62Wrong font
63Missing ENDP
64Arrays must be VAR parameter
65Coordinates out of range
66VAR parameters not allowed here
67Not initialized
68Can't save overlay
69Can't load overlay
70Same overlay
71File too big

Home INTRO Group RUNTIMEERROR Alphabetical Index