BextW‖

e9iSg‖Error Function

rMs2R‖Returns the error message that corresponds to a value or raises a given error context.

h8KBQ‖Syntax:


FowuD‖Error
TMhEb‖Error(expression)
bqewK‖Error err_code

ANh6X‖Return value:

FNBFf‖String or raised error context

BnAcN‖Parameters:

cWGA9‖If no argument is provided, the Error function returns the error message of the most recent error that occurred during program execution.

JCiAF‖expression: Any numeric expression whose error code can be mapped to an existing error message. An empty string is returned if the error code does not exist.

gDA6e‖err_code: Any value that corresponds to an existing error code.

SEjHR‖Error codes:

FZz2o‖1 An exception occurred

DKGkC‖2 Syntax error

YsmXG‖3 Return without Gosub

BWdtp‖4 Incorrect entry; please retry

JpK7p‖5 Invalid procedure call

5FBva‖6 Overflow

Aesp7‖7 Not enough memory

ADAg2‖8 Array already dimensioned

RGkBU‖9 Index out of defined range

aGWmD‖10 Duplicate definition

yQDJd‖11 Division by zero

QNoHo‖12 Variable not defined

JA5Hz‖13 Data type mismatch

4TqAx‖14 Invalid parameter

jdVyz‖18 Process interrupted by user

JLrsT‖20 Resume without error

GXk5T‖28 Not enough stack memory

FmFDo‖35 Sub-procedure or function procedure not defined

FV8Co‖48 Error loading DLL file

AUofE‖49 Wrong DLL call convention

gFqEp‖51 Internal error

BfDiD‖52 Invalid file name or file number

BxqWu‖53 File not found

hLWBB‖54 Incorrect file mode

vfktA‖55 File already open

5U4Mf‖57 Device I/O error

JViEn‖58 File already exists

ECAdf‖59 Incorrect record length

dwGgg‖61 Disk or hard drive full

S3khY‖62 Reading exceeds EOF

jeGkc‖63 Incorrect record number

2UVyw‖67 Too many files

Utuex‖68 Device not available

dRuHr‖70 Access denied

arFri‖71 Disk not ready

SCC7B‖73 Not implemented

iZW7f‖74 Renaming on different drives impossible

kTskL‖75 Path/file access error

uBBn2‖76 Path not found

RKFgh‖91 Object variable not set

zqsZE‖93 Invalid string pattern

ksvCu‖94 Use of zero not permitted

RYPAt‖250 DDE Error

UfCnF‖280 Awaiting response to DDE connection

xZB2C‖281 No DDE channels available

SBNvn‖282 No application responded to DDE connect initiation

FWhCT‖283 Too many applications responded to DDE connect initiation

MrWKp‖284 DDE channel locked

HBT2W‖285 External application cannot execute DDE operation

c7CXR‖286 Timeout while waiting for DDE response

CjAQV‖287 user pressed ESCAPE during DDE operation

tgG8B‖288 External application busy

VfisP‖289 DDE operation without data

y9Et9‖290 Data are in wrong format

JNNcv‖291 External application has been terminated

DGDBs‖292 DDE connection interrupted or modified

EAqMA‖293 DDE method invoked with no channel open

MSG8v‖294 Invalid DDE link format

TPbqp‖295 DDE message has been lost

SaGET‖296 Paste link already performed

FYYN7‖297 Link mode cannot be set due to invalid link topic

4FUFN‖298 DDE requires the DDEML.DLL file

wCkxq‖323 Module cannot be loaded; invalid format

Kqnuc‖341 Invalid object index

ZLqAy‖366 Object is not available

9THvG‖380 Incorrect property value

GVG9j‖382 This property is read-only

4ZfRc‖394 This property is write-only

8HyzA‖420 Invalid object reference

JmJEM‖423 Property or method not found

QcFEv‖424 Object required

5JYN2‖425 Invalid use of an object

RRiUM‖430 OLE Automation is not supported by this object

FdF9E‖438 This property or method is not supported by the object

FGpys‖440 OLE automation error

VbSM2‖445 This action is not supported by given object

AJaz2‖446 Named arguments are not supported by given object

hPPNr‖447 The current locale setting is not supported by the given object

B5qgM‖448 Named argument not found

uA2bA‖449 Argument is not optional

jwUa7‖450 Invalid number of arguments

9LiNF‖451 Object is not a list

CRFBJ‖452 Invalid ordinal number

6aDe2‖453 Specified DLL function not found

qAGfZ‖460 Invalid clipboard format

xEbv8‖951 Unexpected symbol:

tGht6‖952 Expected:

bYbvt‖953 Symbol expected

F58GE‖954 Variable expected

ovp3T‖955 Label expected

vN82g‖956 Value cannot be applied

v4YL6‖957 Variable already defined

nSU7c‖958 Sub procedure or function procedure already defined

FVyYw‖959 Label already defined

wqmVZ‖960 Variable not found

3xV2f‖961 Array or procedure not found

WvEZU‖962 Procedure not found

LZQUF‖963 Label undefined

nCn66‖964 Unknown data type

G4CNC‖965 Exit expected

Gix57‖966 Statement block still open: missing

tXAC8‖967 Parentheses do not match

BjgAZ‖968 Symbol already defined differently

v3YUD‖969 Parameters do not correspond to procedure

WWM2a‖970 Invalid character in number

GvBvK‖971 Array must be dimensioned

rhQJE‖972 Else/Endif without If

RBFDa‖973 not allowed within a procedure

MBgDF‖974 not allowed outside a procedure

FBV3n‖975 Dimension specifications do not match

nwNaJ‖976 Unknown option:

jujW4‖977 Constant redefined

WdYAj‖978 Program too large

yhBbE‖979 Strings or arrays not permitted

795cp‖1000 Object does not have this property

2Pmyz‖1001 Object does not have this method

XDhUD‖1002 Required argument lacking

imBTP‖1003 Invalid number of arguments

yRbzS‖1004 Error executing a method

sjbZK‖1005 Unable to set property

jDyKo‖1006 Unable to determine property