User Tools

Site Tools


en:errorcodes

Errors with a number < 0 are not trappable by the try/catch statement.

ErrorNumberText
ERROR_ARGUMENTCOUNT-5Number of arguments passed does not match FUNCTION/SUBROUTINE definition
ERROR_ARRAYELEMENT106Element of array %VARNAME% has not been assigned a value
ERROR_ARRAYEVEN12Array data must be one dimensional with an even number of elements or two dimemsional with two elements in each row
ERROR_ARRAYEXPR120Array Expression Expected.
ERROR_ARRAYINDEX15Array %VARNAME% index out of bounds
ERROR_ARRAYINDEXMISSING62Array variable %VARNAME% has no value without an index
ERROR_ARRAYLENGTH2D83Can not get a single length of a two dimensional array
ERROR_ARRAYNITEMS14Array %VARNAME% rows must have the same number of items
ERROR_ARRAYSIZELARGE10Array %VARNAME% dimension too large
ERROR_ARRAYSIZESMALL11Array %VARNAME% dimension too small
ERROR_ASINACOSRANGE117Unable to calculate the arc-sine or arc-cosine of a value outside the interval [-1.0, +1.0]
ERROR_BOOLEANCONV119Unable to convert to a Boolean
ERROR_DBCOLNO33Column number out of range or column name not in data set
ERROR_DBCONNNUMBER56Invalid Database Connection Number
ERROR_DBNOTOPEN32Database must be opened first
ERROR_DBNOTSET34Record set must be opened first
ERROR_DBNOTSETROW59You must advance the data set using DBROW before you can read data from it
ERROR_DBOPEN30Unable to open SQLITE database
ERROR_DBQUERY31Database query error (message follows)
ERROR_DBSETNUMBER58Invalid data set number
ERROR_DIVZERO50Division by zero
ERROR_DOWNLOAD93Error downloading file
ERROR_ENVELOPEMAX97It was exceeded the maximum length of an envelope, which is 20 seconds
ERROR_ENVELOPEODD96Envelope data must contain at least 4 elements and an odd number of elements
ERROR_EXPECTEDARRAY84Expected array
ERROR_EXPECTEDSOUND94Expected sound
ERROR_FILENOTOPEN7File not open
ERROR_FILENUMBER5Invalid File Number
ERROR_FILEOPEN6Unable to open file
ERROR_FILEOPERATION78Can not perform that operation on a Serial Port
ERROR_FILERESET9Unable to reset file
ERROR_FILEWRITE8Unable to write to file
ERROR_FOLDER28Invalid directory name
ERROR_FREEDB55There are no free database connections to allocate
ERROR_FREEDBSET57There are no free data sets to allocate for that database connection
ERROR_FREEFILE53There are no free file numbers to allocate
ERROR_FREENET54There are no free network connections to allocate
ERROR_HARMONICLIST99Harmonics list must be one dimensional array with an even number of elements or two dimemsional array with two elements in each row
ERROR_HARMONICNUMBER98Harmonic number must be an integer greater than zero
ERROR_IMAGEFILE24Unable to load image file
ERROR_IMAGERESOURCE87Specified image resource not found
ERROR_IMAGESAVETYPE47Invalid image save type
ERROR_IMAGESCALE63Image scale must be greater than or equal to zero
ERROR_INFINITY29Operation returned infinity
ERROR_INTEGERRANGE81Number exceeds integer range (
ERROR_INVALIDKEYNAME110Invalid key name
ERROR_INVALIDPROGNAME109Invalid program name
ERROR_INVALIDRESOURCE89Specified resource not found
ERROR_LOGRANGE68Unable to calculate the logarithm of a number less than or equal to 0
ERROR_LONGRANGE80Number exceeds long integer range (
ERROR_MAXRECURSE-6Maximum levels of recursion exceeded
ERROR_NETACCEPT44Unable to accept network connection
ERROR_NETBIND43Unable to bind network socket
ERROR_NETCONN38Unable to connect to network host
ERROR_NETHOST37Error finding network host
ERROR_NETNONE40Network connection has not been opened
ERROR_NETREAD39Unable to read from network connection
ERROR_NETSOCK36Error opening network socket
ERROR_NETSOCKNUMBER45Invalid Socket Number
ERROR_NETSOCKOPT42Unable to set network socket options
ERROR_NETWRITE41Unable to write to network connection
ERROR_NEXTNOFOR115Next without FOR
ERROR_NONE0
ERROR_NOSUCHFUNCTION-13No such FUNCTION %VARNAME%
ERROR_NOSUCHLABEL-1No such label %VARNAME%
ERROR_NOSUCHSUBROUTINE-12No such SUBROUTINE %VARNAME%
ERROR_NOTARRAY-3Variable %VARNAME% is not an array
ERROR_NOTIMPLEMENTED65535Feature not implemented in this environment
ERROR_NUMBERCONV35Unable to convert to number
ERROR_NUMBEREXPR121Numeric Expression Expected.
ERROR_ONEDIMENSIONAL103Expects one dimensional array or one dimensional list of elements
ERROR_ONERRORSUB-14SUBROUTINE %VARNAME% expects arguments and therefore can not be used by ONERROR statement
ERROR_PENWIDTH60Drawing pen width must be a non-negative number
ERROR_PERMISSION46You do not have permission to use this statement/function
ERROR_POLYPOINTS23Not enough points in array for poly()/stamp()
ERROR_PRINTERNOTOFF72Printing is already on
ERROR_PRINTERNOTON71Printer is not on
ERROR_PRINTEROPEN73Unable to open printer
ERROR_RADIX67Unable to convert radix string back to a decimal number
ERROR_RADIXSTRING66Unable to convert radix string back to a decimal number
ERROR_REFNOTASSIGNED113Variable %VARNAME% refers to an unassigned variable
ERROR_REFNOTASSIGNED113Variable %VARNAME% refers to an unassigned variable
ERROR_RGB20RGB Color values must be in the range of 0 to 255
ERROR_SERIALPARAMETER79Invalid serial port parameter
ERROR_SETTINGMAXKEYS112The maximum number of keys for this program has been exceeded
ERROR_SETTINGMAXLEN111Setting string exceeds maximum length of 16,383 characters
ERROR_SETTINGSGETACCESS107The program does not have permission to read settings from other program. Check access level from 'Preferences' panel
ERROR_SETTINGSSETACCESS108The program does not have permission to write settings for other program. Check access level from 'Preferences' panel
ERROR_SLICESIZE82Invalid Slice dimensions
ERROR_SOUNDERROR102
ERROR_SOUNDFILE90Unable to load sound file
ERROR_SOUNDFILEFORMAT101
ERROR_SOUNDLENGTH92
ERROR_SOUNDNOTSEEKABLE91
ERROR_SOUNDRESOURCE88Specified sound resource not found
ERROR_SPRITENA26Sprite has not been assigned
ERROR_SPRITENUMBER25Sprite number out of range
ERROR_SPRITESLICE27Unable to slice image
ERROR_SQRRANGE116Unable to calculate the root of a negative number
ERROR_STACKUNDERFLOW-7Stack Underflow Error
ERROR_STRING2NOTE105Unable to convert string to musical note
ERROR_STRINGCONV118Unable to convert to a string
ERROR_STRINGEXPR122String Expression Expected.
ERROR_STRINGMAXLEN69String exceeds maximum length of 16,777,216 characters
ERROR_STRSTART17Starting position less than zero
ERROR_TOOMANYSOUNDS95Too many sound instances
ERROR_UNEXPECTEDRETURN114Unexpected RETURN
ERROR_UNSERIALIZEFORMAT-11Unable to UnSerialize string
ERROR_VARCIRCULAR86Circular reference in variable %VARNAME%
ERROR_VARNOTASSIGNED13Variable %VARNAME% has not been assigned a value
ERROR_VARNULL85Variable %VARNAME% refers to a non-existent variable
ERROR_WAVEFORMLOGICAL104Creating custom waveform using logical coordinates it request at least 3 elements
ERROR_WAVOBSOLETE100

Warnings are not trappable but you may go to “preferences” to change the run-time behavior of many of these.

WarningNumberText
WARNING_ARRAYELEMENT0Element of array %VARNAME% has not been assigned a value
WARNING_BOOLEANCONV0Unable to convert to a Boolean, false used
WARNING_INTEGERRANGE0Number exceeds integer range (
WARNING_LONGRANGE0Number exceeds long integer range (
WARNING_NUMBERCONV0Unable to convert string to number, zero used
WARNING_REFNOTASSIGNED0Variable %VARNAME% refers to an unassigned variable
WARNING_SOUNDERROR0Unable to play the sound
WARNING_SOUNDFILEFORMAT0Unable to play the selected file
WARNING_SOUNDLENGTH0Duration is not available for media file
WARNING_SOUNDNOTSEEKABLE0Media file is not seekable
WARNING_START65536
WARNING_STRING2NOTE0
WARNING_STRINGCONV0Unable to convert to a string, '' used
WARNING_VARNOTASSIGNED0Variable %VARNAME% has not been assigned a value
WARNING_WAVOBSOLETE0WAVPLAY suite is obsolete. Use SOUND/SOUNDPLAY/SOUNDPLAYER instead

History

2.0.0.0Added to Documentation
en/errorcodes.txt · Last modified: 2020/04/17 15:12 by admin