Returns the error message that corresponds to a value or raises a given error context.
If no argument is provided, the Error function returns the error message of the most recent error that occurred during program execution.
1 An exception occurred
51 Internal error
3 Return without Gosub
4 Incorrect entry; please retry
5 Invalid procedure call
6 Overflow
7 Out of memory
8 Array already dimensioned
9 Index out of defined range
10 Duplicate definition
11 Division by zero
12 Variable undefined
13 Type mismatch
14 Invalid parameter
18 User interrupt occurred
20 Resume without error
28 Out of stack space
35 Sub-procedure or function procedure not defined
48 Error in loading DLL
49 Bad DLL calling convention
51 Internal error
52 Bad file name or number
53 File not found
54 Bad file mode
55 File already open
57 Device I/O error
58 File already exists
59 Bad record length
61 Disk or hard drive full
62 Reading exceeds EOF
63 Bad record number
67 Too many files
68 Device not available
70 Permission denied
ā§ā§§ āĻĄāĻŋāĻ¸ā§āĻāĻāĻŋ āĻĒā§āĻ°āĻ¸ā§āĻ¤ā§āĻ¤ āĻ¨āĻ¯āĻŧ
73 Feature not implemented
74 Renaming on different drives impossible
75 Path/file access error
76 Path not found
91 Object variable not set
93 Invalid pattern string
94 Use of zero not permitted
51 Internal error
280 Awaiting response to DDE connection
281 No DDE channels available
282 No application responded to DDE connect initiation
283 Too many applications responded to DDE connect initiation
284 DDE channel locked
285 External application cannot execute DDE operation
286 Timeout while waiting for DDE response
287 user pressed ESCAPE during DDE operation
288 External application busy
289 DDE operation without data
290 Data are in wrong format
291 External application has been terminated
292 DDE connection interrupted or modified
293 DDE method invoked with no channel open
94 Invalid use of Null
295 DDE message has been lost
296 Paste link already performed
297 Link mode cannot be set due to invalid link topic
298 DDE requires the DDEML.DLL file
323 Module cannot be loaded; invalid format
341 Invalid object index
68 Device not available
380 Bad property value
382 Property is read only
394 Property is write only
420 Invalid object reference
423 Property or method not found
424 Object required
425 Invalid use of object
430 OLE Automation is not supported by this object
438 This property or method is not supported by the object
440 OLE automation error
445 This action is not supported by given object
446 Named arguments are not supported by given object
447 The current locale setting is not supported by the given object
448 Named argument not found
449 Argument not optional
450 Wrong number of arguments
451 Object not a collection
452 Invalid ordinal
453 Specified DLL function not found
460 Invalid clipboard format
12 Variable undefined
12 Variable undefined
12 Variable undefined
12 Variable undefined
12 Variable undefined
956 Value cannot be applied
55 File already open
958 Sub procedure or function procedure already defined
55 File already open
53 File not found
76 Path not found
76 Path not found
12 Variable undefined
964 Unknown data type
12 Variable undefined
966 Statement block still open: missing
967 Parentheses do not match
968 Symbol already defined differently
969 Parameters do not correspond to procedure
970 Invalid character in number
8 Array already dimensioned
972 Else/Endif without If
973 not allowed within a procedure
974 not allowed outside a procedure
975 Dimension specifications do not match
976 Unknown option:
977 Constant redefined
978 Program too large
979 Strings or arrays not permitted
1000 Object does not have this property
1001 Object does not have this method
1002 Required argument lacking
450 Wrong number of arguments
1004 Error executing a method
1005 Unable to set property
1006 Unable to determine property