Fatal Errors

 

If the current error mode is @CANCEL (the default), any WIL errors encountered while processing a WIL program cause the item to be canceled with an error message.

 

3023 BinaryData: Invalid Binary Data handle passed  

3024 BinaryData: Too many open Binary Data Handles  

3026 LogDisk: Illegal disk drive  

3027 LogDisk: DOS reports no disks!! ???  

3032 GoTo unable to lock memory for batch file  

3033 GoTo label not found  

3046 Internal Error 3046. Function not defined  

3047 Variable name over 30 chars. Too Long  

3048 Substitution %Variable% not followed by a % (Use %% for %)  

3049 No variables exist??!!  

3050 No IF to relate to THEN, ELSEIF or ELSE is currently valid

3051 Undefined variable or function  

3052 Uninitialized variable or undefined function  

3053 Character string too long (>2048 chars??)

3054 Unrecognizable item found on line  

3055 Variable name over 30 chars. Too Long  

3056 Variable could not be converted to string  

3057 Variable could not be converted to a valid number  

3059 Closing multiline string constant delimiter not found  

3061 Illegal Syntax  

3062 Attempt to divide by zero  

3063 Binary operation not legal for type of number  

3064 Unary operation not legal for type of number  

3065 Unbalanced Parenthesis  

3066 Wrong Number of Arguments in Function  

3067 Function Syntax. Opening parenthesis missing.  

3068 Function Syntax. Illegal delimiter found.  

3069 Bad assignment statement. (Use == for equality testing)  

3070 Internal error 3070. Too many arguments defined.  

3071 Missing or incomplete statement  

3072 THEN not found in IF or ELSEIF statement  

3073 Goto Label not specified  

3074 Expression continues past expected end.  

3075 Call: Parse of file/parameter line failed  

3076 FileOpen: READ or WRITE not properly specified  

3078 FileOpen: Too many (>5) files open  

3079 FileClose: Invalid file handle  

3080 FileClose: File not currently open  

3081 FileRead: Invalid file handle  

3082 FileRead: File not currently open  

3084 FileWrite: Invalid file handle  

3085 FileWrite: File not currently open  

3087 FileRead: File not open for reading  

3088 FileRead: Attempt to read past end of file  

3089 FileWrite: File not open for writing  

3090 Dialog Box: File open error  

3091 Dialog Box: Box too large (20x60 max)  

3092 Dialog Box: Non-text control used w/filebox.  

3094 Dialog Box: Window Registration Failed  

3095 Compare: Not an integer or string compare  

3096 Memory allocation failure. Out of memory for strings  

3097 Memory allocation failure. Out of memory for variables  

3098 IntErr: NULL pointer passed to xstrxxx subroutines  

3099 CallExt function disabled. Not currently available.  

3101 Substituted line too long. (> 2048 characters)

3102 Drop: Can only drop variables  

3103 IsDefined: Attempting to test non-variable item  

3104 Dialog Box: Window Creation Failed  

3105 CALL and CALLEXT not supported in compiled versions  

3107 Run: Filetype is not COM, EXE, PIF or BAT  

3108 FileItemize: Unable to lock file info segment  

3109 FileItemize: Unable to unlock file info segment  

3110 FileItemize: Unable to lock file index segment  

3111 FileItemize: Unable to unlock file index segment  

3113 FileSize: Filelength I/O Error  

3114 FileSize: Buffer Overrun Error  

3115 FileDelete: Buffer Overrun Error  

3116 FileRename: Buffer Overrun Error  

3117 FileCopy/Move: Buffer Overrun Error  

3123 WaitForKey: Invalid key codes specified  

3124 WinMetrics: Invalid code  

3127 BinaryEODSet: Set value beyond end of buffer  

3130 OleTerminate: Bad Ole Channel  

3131 OleExecute: Not a valid OLE object. Period may have been used in place of a comma.

3132 Ole: Ole has not been initialized  

3135 OleExecute: Syntax Error - Needs more parameters  

3136 DDEInitiate: Undefined Error  

3137 DDEInitiate: Nobody Around to talk to  

3138 DDEInitiate: Too many DDE conversations  

3139 DDEInitiate: Bad Channel Number  

3140 DDEInitiate: Create String Failure  

3142 DDETerminate: Channel does not exist  

3145 DDEExec: GlobalAlloc failed  

3146 DDEExec: Global Lock failed  

3147 DDEExec: Bad channel number  

3148 OleInitiate: Application does not support Ole  

3149 DDEExec: Internal Error 3149  

3151 DDEReq: Undefined Error  

3152 DDEReq: Bad channel number  

3153 DDEReq: Null handle returned  

3154 DDEReq: Create String Failed  

3156 DDEReq: GlobalLock failed  

3157 OleInitiate: Too many open channels  

3160 DDEPoke: GlobalAlloc failed  

3161 DDEPoke: GlobalAddAtom failed  

3162 DDEPoke: GlobalLock failed  

3167 DDE Recv Data: GlobalLock 1 failed  

3168 DDE Recv Data: GlobalAlloc 2 failed  

3169 DDE Recv Data: GlobalLock 2 failed  

3170 DDEInitiate: Internal Error 3170  

3171 IntControl: Invalid IntControl opcode  

3196 PlayMedia: Do not use WAIT or NOTIFY in MCI string  

3197 WinResources: Invalid request number  

3199 WinPlaceGet/Set: Invalid window-size number  

3202 WinPlaceSet: Wrong number of window co-ordinates  

3205 MouseInfo: Invalid request number  

3206 SnapShot: Invalid request number  

3210 Cmd Extender: Out of memory to save result  

3211 Call: More than 6 levels of Calls  

3212 PlayMedia: Notify Window creation failed  

3215 Cmd Extender: Severe error occurred  

3218 Dialog: Dialog name too long (>16 chars)  

3219 Dialog: Format variable missing  

3220 Dialog: Format version not supported  

3221 Dialog: x, y, width or height variables bad  

3222 Dialog: Control definition variable missing  

3223 Dialog: Bad Control type in definition variable  

3224 Dialog: Bad or missing Value for Radio/Checkbox button  

3225 Dialog: Too many items in definition variable  

3228 Function not available in Windows NT  

3230 Cannot have nested #DefineCommand  

3234 RunExit: Not EXE, COM or BAT file  

3235 RunExit: EXE name too long (max 127)  

3236 RunExit: Params too long (max 126)  

3237 RunEnviron: Params too long (max 119)  

3238 RunEnviron: EXE file NOT a Windows file  

3239 RunExit: Cannot locate file to run  

3243 Ole Object: Object Name too long  

3244 Ole Object: Property name too long  

3245 Ole Object: Method name too long  

3246 Ole Object: Object does not exist  

3247 Ole Object: Method has more parameters then WIL supports  

3250 Ole Object: Problem occurred when formatting parameters  

3251 Syntax error in #DefineCommand statement  

3252 RunExit: Not supported under Windows NT (No DOS)  

3320 EvalDisk: Disk Drive specification error  

3321 EvalDisk: Internal Error 1  

3322 File Name Parsing: Function does not allow wildcards  

3325 BinaryPeekPoke: Offset is beyond end of binary buffer  

3326 BinaryPoke: Value to poke is outside the 8 bit range  

3327 BinaryCopy: Offset(s) beyond end of binary buffer(s)  

3328 BinaryCopy: Data to be copied will not fit in buffer  

3329 BinaryCopy: Data to copy extends beyond end of buffer  

3333 BinaryIndex: Offset is beyond end of binary buffer  

3338 FP Math: Illegal floating point number. Too many dots.  

3339 FP Math: Illegal floating point number. Too many E's.  

3340 FP Math: Variable could not be converted to floating point  

3352 Internal Error: Command or Structop not defined  

3353 Struct Error: Nesting of structures is too complex  

3354 END Error: No matching End found  

3355 STRUCT Error: 'Break' not in a Structure  

3356 STRUCT Error: 'Continue' not in a Structure  

3357 End Error: No match found  

3358 Else Error: No matching If or ElseIf found  

3359 Break/Continue: Not in a While, Switch, or For structure  

3360 For Error: Bad Syntax. e.g. 'For x = 1 to 10'  

3361 For Error: For counters must be numbers, not strings  

3362 Misplaced 'TO' found without a DoFor  

3363 Unidentified 'END': Must be followed by If, While, Switch or For  

3364 SWITCH/CASE Error: Switch/Case can only accept integers  

3365 CASE Error: No matching Switch found  

3366 AskBox Error: Single/Multiple value incorrect  

3367 AskBox Error: Sorted/Unsorted value incorrect

3368 ElseIf Error: No matching if found 

3382 DllCall: Internal Error - cannot accept lpbinary return  

3383 Execute function error: 'Wait' parameter bad  

3384 Execute function error: 'Display type' parameter bad  

3385 DiskExist: Invalid Disk Argument. Try a single letter  

3386 IniItemize: Null section name not valid in NT  

3387 ShellPrint: @WAIT not supported in NT  

3391 DllFree: Bad Dll handle passed. Must use handle returned by DllLoad  

3393 AddExtender: Too many extenders added  

3394 AddExtender: Extender dll not found  

3395 AddExtender: Not a valid extender  

3396 AddExtender: Extender table full  

3397 List Itemization: Could not allocate global buffer 

3401 RunEnviron: @NOWAIT not supported in 16-bit versions. Use @WAIT. 

3403 #EndCommand with no matching #DefineCommand  

3437 AddExtender: Extender DLL load failed (make sure 16/32-bit type matches WIL)  

3467 FileWrite: Write failed  

3472 Function not available in this product  

3473 FileCopy/Move: Cannot specify warning-@TRUE in background mode.

3605 Invalid character found in multiline string constant

3609 Dialog: One or more bad or missing DPI scaling values

3618 Unable to call Cancel Handler: Nesting of structures is too complex

3619 Unable to call Error Handler: Nesting of structures is too complex

3623 Cannot have nested #DefineFunction

3624 Syntax error in #DefineFunction statement

3625 #EndFunction with no matching #DefineFunction

3626 Maximum number of user-defined functions exceeded

3627 Error processing user-defined function

3647 Cannot create embedded arrays

3650 Variable is not an array

3670 Severe user-defined error

3673 Unable to lock memory for user-defined function

3691 Cannot have nested #DefineSubroutine

3692 Syntax error in #DefineSubroutine statement

3693 #EndSubroutine with no matching #DefineSubroutine

3722 Line too long (>2048 characters)

3723 #DefineFunction/Subroutine/Command with no matching #EndFunction/Subroutine/Command

3729 Foreach Error: Bad Syntax, eg, 'For x in y.z')

3732 Variable could not be converted to a variant

3941 Dialog: Bad font description assigned to dialog Font variable

3943 Dialog: Bad color description assigned to dialog Text Color variable

3945 Dialog: Unable to load dialog Background image.

3946 Dialog: Unsupported Variable Name attribute in definition variable

3947 Dialog: Unsupported Value attribute in definition variable

3948 Dialog: Unsupported Font attribute in definition variable

3949 Dialog: Unsupported Text Color attribute in definition variable

3950 Dialog: Unsupported Background Color attribute in definition variable

3951 Dialog: Too few items in definition variable

3952 Dialog: Control's image file not found or corrupt

3953 Dialog: Unsupported Text attribute in definition variable

3954 Dialog: Bad Font attribute in definition variable

3955 Dialog: Bad Text Color attribute in definition variable

3956 Dialog: Bad Background Color attribute in definition variable

3957 Dialog: Bad Variable attribute found in definition variable

3958 Dialog: Bad or missing Value attribute in definition varaible

3959 Dialog: x, y, width or height control attribute bad

3960 Dialog: Control requires Windows 95 with Internet Explorer 3.0 or later

3961 Dialog: Calendar variable contains an invalid time value

3962 Dialog: Spinner variable contains non-numeric values

3963 Dialog: Spinner pre-selected value must be numeric value

3964 Dialog: Spinner variable specifies a range that is to large

3965 Dialog: Found more than one Pushbutton with value attribute set to 1

3966 Dialog: Found more than one Pushbutton with value attribute set to 0

3967 Dialog: Found second FILELISTBOX control. You can have only one per dialog

3968 Dialog: Dialog control count missing

3969 Dialog: Background variable can contain only one bitmap file and one color

3970 Dialog: Bad color description assigned to dialog background variable

3971 Dialog: Bad or missing Tab Order attribute in definition variable

3972 Dialog: Bad or missing Style attribute in definition variable

3973 Dialog: Bad control number

3974 Dialog: Bad request number

3975 Dialog: Request not supported by control

3976 Dialog: Error retrieving control's system information

3977 Dialog: Parameter contains an invalid time value

3978 Dialog: Expecting a numeric value in parameter

3979 Dialog: System refused to set timer

3980 Dialog: Bad color description

3981 Dialog: Bad bitmap file

3985 Dialog: Menu creations failed.

3986 Dialog: Found second MENUBAR. You can have only one per dialog

3987 Dialog: Menu parent not found.

3989 Dialog: Invalid menu accelerator found

3992 Array element could not be converted to Unicode

3998 Dll Structure Member not found

 

 

 

 

§         Minor Errors

§         Moderate Errors

§         Error Handling

§         Reference

§         Step by step guide to learning WIL

§         Notes