Error List

Category: Debug

Date: 02-16-2022

Return to Index


 
 
'Error numbers higher than 240 are reserved for use in critical
'error situations which can never be trapped with ON ERROR.
 
'Run-time error values are restricted to the range 1 through 255,
 
'Compiler reserves codes 0 through 150, and 241 through 255 for
'predefined errors.
 
'Attempting to set an error value (with the ERROR statement)
'outside of the valid range 1 to 255 will result in a run-time
'Error 5 ("Illegal function call") instead.
 
'In addition to the predefined run-time errors, you may also set
'your own customized run-time error codes in the range
'151 through 240.  These error codes may be useful to signal
'specific types of errors in your own applications, ready to
'be handled by your error trapping code.
 
Run Time Errors
Error 0 - No error
Error 5 - Illegal function call
Error 6 - Overflow
Error 7 - Out of memory
Error 9 - Subscript / Pointer out of range
Error 11 - Division by zero
Error 24 - Device time-out
Error 51 - Internal error
Error 52 - Bad file name or number
Error 53 - File not found
Error 54 - Bad file mode
Error 55 - File is already open
Error 57 - Device I/O error
Error 58 - File already exists
Error 61 - Disk full
Error 62 - Input past end
Error 63 - Bad record number
Error 64 - Bad file name
Error 67 - Too many files
Error 68 - Device unavailable
Error 69 - COMM error
Error 70 - Permission denied
Error 71 - Disk not ready
Error 72 - Disk media error
Error 74 - Rename across disks
Error 75 - Path/file access error
Error 76 - Path not found
Error 99 - Object error
Error 241 - Global memory corrupt
Error 242 - String space corrupt
 
Compile-Time Errors
Error 401 Expression too long/complex
Error 402 - Statement too long/complex
Error 403 - #IF nesting overflow
Error 404 - #Include file/Macro nesting overflow
Error 405 - Block nesting overflow
Error 406 - Compiler out of memory
Error 407 - Source line too long
Error 408 - Wrong compiler for this program
Error 409 - Sub/Function is too large
Error 411 - "," expected
Error 412 - ";" expected
Error 413 - "(" expected
Error 414 - ")" expected
Error 415 - "=" expected
Error 416 - "-" expected
Error 417 - "*" expected
Error 418 - Statement expected
Error 419 - Label/line number expected
Error 420 - Relational operator expected
Error 421 - String operand expected
Error 422 - Scalar variable expected
Error 423 - Array variable expected
Error 424 - Numeric variable expected
Error 425 - String variable expected
Error 426 - Variable expected
Error 427 - Integer constant expected
Error 428 - Positive integer constant expected
Error 429 - String constant expected
Error 430 - Integer variable expected
Error 431 - Numeric scalar variable expected
Error 432 - Long-integer variable expected
Error 433 - Matrix array expected (integer/float)
Error 434 - End of line expected
Error 435 - #IF expected
Error 436 - #ENDIF expected
Error 437 - AS expected
Error 438 - Member name expected
Error 439 - GOSUB expected
Error 440 - GOTO expected
Error 441 - IN expected
Error 442 - THEN expected
Error 443 - TO expected
Error 444 - WITH expected
Error 445 - OF expected
Error 446 - Function expected
Error 447 - IF expected
Error 448 - DO loop expected
Error 449 - SELECT expected
Error 450 - CASE expected
Error 451 - FOR loop expected
Error 452 - SUB expected
Error 453 - Equate (%xyz) expected
Error 454 - End Function expected
Error 455 - END IF expected
Error 456 - LOOP/WEND expected
Error 457 - END SELECT expected
Error 458 - End Sub expected
Error 459 - NEXT expected
Error 460 - Undefined equate
Error 461 - Array not dimensioned
Error 462 - Undefined SUB/Function reference
Error 463 - Undefined label/line reference
Error 464 - Undefined class reference
Error 465 - Duplicate definition
Error 466 - Duplicate name definition
Error 467 - Duplicate line number
Error 468 - Duplicate equate
Error 469 - Quad integer variable expected
Error 471 - Invalid line number
Error 472 - Invalid label
Error 473 - Invalid numeric format
Error 474 - Invalid name
Error 475 - Metastatements not allowed here
Error 476 - Block/scanned statements not allowed here
Error 477 - Syntax error
Error 478 - Resource file error
Error 479 - Array bounds error
Error 480 - Parameter mismatches definition
Error 481 - Mismatch with prior definition
Error 482 - Data type mismatch
Error 483 - Requires Object Procedure (Method/Property)
Error 484 - Requires procedure (Sub/Function)
Error 485 - Dynamic/Field strings not allowed
Error 486 - ByVal option not allowed
Error 487 - Multiple NEXT not allowed
Error 488 - Numeric processor overflow
Error 489 - Invalid string length
Error 490 - Static array too large
Error 491 - Invalid register variable
Error 492 - Invalid SORT function
Error 493 - Compiler file not found/accessible
Error 494 - ASM not allowed here
Error 495 - Compiler file read error
Error 496 - Destination file write error
Error 497 - Assembler syntax error
Error 498 - Assembler variables must be declared
Error 499 - Statement must be first on line
Error 500 - Variable name must be unique
Error 501 - Parameters�too large (exceed 64 Kb)
Error 502 - COM interface name expected
Error 503 - Multiple Main Functions have been defined
Error 504 - Executable requires PBMAIN/WINMAIN function
Error 505 - Debugging requires EXE filenot DLL
Error 506 - Declaration must precede statements
Error 507 - OLE variable expected
Error 508 - INSTANCE not allowed here
Error 509 - Interface mismatches class
Error 510 - Interface name expected
Error 511 - Numeric operand expected
Error 512 - Nested brackets not allowed
Error 513 - "]" expected
Error 514 - Enclosing <...> angle brackets expected
Error 515 - Fixup overflow
Error 516 - DEFtypeType ID or type-specifier required
Error 517 - OPTIONAL requires CDECL or SDECL
Error 518 - "[...]" requires CDECL
Error 519 - Missing declaration
Error 520 - TYPE expected
Error 521 - UNION expected
Error 522 - END TYPE expected
Error 523 - END UNION expected
Error 524 - Undefined type
Error 525 - Type ID or specifier (?%&!#$) not allowed
Error 526 - Period not allowed
Error 527 - End of statement expected
Error 528 - Type too large
Error 529 - Pointer variable error
Error 530 - Invalid member name/definition
Error 531 - Object variable expected
Error 532 - Variant variable expected
Error 533 - Dispatch object variable expected
Error 534 - Bit field error
Error 535 - Dynamic string variable expected
Error 536 - Too many imports
Error 537 - Pointer expected
Error 538 - Invalid FOR/NEXT limits
Error 539 - Invalid thread function
Error 540 - Float opcode with a register variable
Error 541 - Register size conflict
Error 542 - May not be altered
Error 543 - Must be outside Sub/Function/Class...
Error 544 - Field variable expected
Error 545 - AT expected
Error 546 - Use only as a Callback
Error 547 - Callback function required
Error 548 - No parameters with Callback
Error 549 - ByVal required with pointers
Error 550 - Too many data statements
Error 551 - Not supported in this version
Error 552 - TRY statement expected
Error 553 - CATCH statement expected
Error 554 - END TRY statement expected
Error 555 - ON ERROR/RESUME not allowed here
Error 556 - Function restricted to threads
Error 557 - Macro too long/complex
Error 558 - MACRO expected
Error 559 - END MACRO expected
Error 562 - INTERFACE expected
Error 563 - END INTERFACE expected
Error 564 - MACROTEMP not allowed here
Error 565 - Macro mismatch with code position
Error 566 - CLASS expected
Error 567 - END CLASS expected
Error 568 - METHOD expected
Error 569 - END METHOD expected
Error 570 - PROPERTY expected
Error 571 - END PROPERTY expected
Error 572 - PROPERTY GET expected
Error 573 - Valid only in a CallBack Function
Error 574 - Not allowed in an Event Class
Error 575 - EVENT SOURCE is not declared
Error 576 - Too many Interfaces
Error 577 - EVENT INTERFACE expected
Error 578 - INHERIT of Base Class expected
Error 579 - BYREF variable or ByVal/BYREF variant expected
Error 580 - Duplicate GUID usage
Error 581 - Type Library creation error
Error 582 - Duplicate Dispatch interface
Error 583 - Unpaired PROPERTY definition
Error 584 - Mismatched PROPERTY pair
Error 585 - PROPERTY requires ByVal parameters
Error 586 - User Defined Type or AS expected
Error 587 - Invalid Constructor/Destructor
Error 588 - Indirect operand must be bracketed: [12]
Error 589 - Dual/IDispatch interface is required
Error 590 - PROPERTY SET requires at least one parameter
Error 591 - ByVal with OUT is not allowed
Error 592 - Return value required
Error 593 - Dual or Automation interface is required
Error 594 - Macro ends with continuation '_'
Error 595 - Object return type required
Error 596 - Inherited interface expected
Error 597 - Invalid name or sequence in the interface
Error 598 - CLASS METHOD name expected
Error 599 - Invalid within an INTERFACE
Error 600 - Macro phase error, referenced before define
Error 601 - One INHERIT per interface
Error 602 - Hidden interface referenced by COM
Error 603 - Incompatible with a Dual/IDispatch interface
Error 604 - Incompatible with #COM TLIB generation
Error 605 - Macro parameter mismatch
Error 606 - Macro empty parentheses "()" are needed
Error 607 - Too many macro expansions
Error 613 - Cannot compile - the program is now running
Error 801 to 815 - Internal error
 
'Compilable Example:  (Jose Includes)
#Compiler PBWin 9, PBWin 10
#Compile EXE
#Dim All
%Unicode=1
#Include "Win32API.inc"
Global hDlg as Dword
 
Function PBMain() As Long
   Dialog New Pixels, 0, "Test Code",300,300,200,200, %WS_OverlappedWindow To hDlg
   Control Add Button, hDlg, 100,"Push", 50,10,100,20
   Dialog Show Modal hDlg Call DlgProc
End Function
 
CallBack Function DlgProc() As Long
   If CB.Msg = %WM_Command AND CB.Ctl = 100 AND CB.Ctlmsg = %BN_Clicked Then
      Local temp$, i As Long
      For i = 0 to 1000
      next i
   End If
End Function
 
'gbs_00692
'Date: 03-10-2012


created by gbSnippets
http://www.garybeene.com/sw/gbsnippets.htm