Home
Introducing PowerBASIC For Windows 10
What's New
Running PB/Win
The PowerBASIC Integrated Development Environment
Writing Programs in PB/Win
Creating Dynamic Link Libraries
Creating Static Link Libraries
Debugging PB/Win Programs
Data Types
Variables and Variable Scope
Operators
Errors and Error Trapping
    Error Overview
    Error Trapping
    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 - PREFIX clause 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 - INSTANCE arrays must be declared
       Error 462 - Undefined SUB/FUNCTION reference
       Error 463 - Undefined label/line reference
       Error 464 - Undefined class reference
       Error 465 - May be defined only once
       Error 466 - This name is already in use
       Error 467 - Duplicate line number
       Error 468 - This equate may not be redefined
       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 - Invalid MAIN Function(s)
       Error 504 - Executable requires PBMAIN/WINMAIN function
       Error 505 - Debugging requires EXE file, not 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 - DEFtype, Type 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 - Invalid operation 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 560 - FASTPROC expected
       Error 561 - END FASTPROC 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 - Requires CLASS but outside of Interfaces
       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 - PowerCollection / LinkListCollection required
       Error 607 - New syntax requires GETCOM/NEWCOM/ANYCOM
       Error 609 - Too many macro expansions
       Error 610 - Invalid within a FastProc
       Error 611 - FASTPROC params must be ByVal Long Integer
       Error 612 - FASTPROC return may only be Long Integer
       Error 613 - Cannot compile - the program is now running
       Error 614 - Mismatched CHR Mode (Ansi/Wide)
       Error 615 - PREFIX expected
       Error 616 - END PREFIX expected
       Error 617 - ASMDATA expected
       Error 618 - END ASMDATA expected
       Error 619 - ENUM expected
       Error 620 - END ENUM expected
       Error 621 - Interface cannot inherit from itself
       Error 622 - AS STRING required for variant conversion
       Error 623 - THREADPARM Instance variable required
       Error 624 - Invalid THREADPARM variable type
       Error 625 - THREAD Method required
       Error 626 - Duplicate THREAD Method
       Error 627 - INHERIT IPowerThread expected
       Error 628 - Not valid in a Static-Lin-Lib (SLL)
       Error 629 - ALIAS disallows Private/Thread/Callback
       Error 630 - Link File Error
       Error 631 - Nested Link Files
       Error 632 - COMMON name is a duplicate
       Error 633 - COMMON signature is mismatched
       Error 634 - Undefined COMMON reference
       Error 635 - USING clause is required
       Error 636 - Invalid VersionInfo Resource
       Error 637 - SLL mismatch with this compiler
       Error 638 - Please change AS STRING to AS WSTRING
       Error 639 - TYPE variable expected
       Error 801 to 815 - Internal error
    Run Time Errors
Dynamic Dialog Tools (DDT)
Files
Graphics
Printing
Serial Communications
TCP and UDP Communications
Objects and COM Programming
The PowerBASIC COM Browser
The Inline Assembler
Resource Files
Working with Visual Basic
Optimizing your code
Keyword Reference
Support