ATEasy Compiler Errors and Warnings

Literal Constants Errors

Error Code

Description

500

Numeric constant '<string>' is out of range for type '<type name>'

501

Illegal Byte constant

502

Illegal String constant

503

Expected hex digit after '0x'

504

Maximum number of hex digits is 8

505

Illegal suffix'<character>' after numeric constant '<string>'

506

Unexpected character '<character>' after numeric constant '<string>'

507

Expected " to end string constant before end-of-line

508

Expected binary digit after '0b'

509

Maximum number of digits in a binary literal is 32

510

Expected */ to end C-style block comment before end of code

Label Definition Errors

Error Code

Description

520

Label is already defined

521

Label has the same name as a local variable

522

Missing label

523

Undefined label '<string>'

Operator/Operand order Errors

Error Code

Description

530

Unexpected operand after '<string>' or it is not a driver item at start of command

531

Unexpected operator '<string>' after '<string>'

532

Address operator, '&', must be followed by l-value, e.g. variable, array element or struct field

Missing Or Unexpected Punctuation Errors

Error Code

Description

540

Unexpected colon

541

Unexpected end of text

542

Expected close brace

543

Expected comma

544

Expected open brace

545

Unexpected open brace

546

Unexpected comma

547

Expected end-of-line

548

Expected close parenthesis

549

Expected open parenthesis

550

'<string>' is followed by open parenthesis, but is not a procedure name or variable

551

Unexpected close parenthesis

Arrays & Subscription Errors

Error Code

Description

556

REDIM on a structure field is not allowed

557

Expected ATEasy subscript operator '['

558

Subscript operator is not preceded by anything that can be subscripted

559

Expected ATEasy array

560

Array subscript must be integer

561

Subscript value of '<number>' is too large for dimension # '<number>' of array '<string>'

562

Too many subscripts for array '<string>'

563

'<string>' is subscripted but is not an array

564

Expected subscript

565

'(' after array. ATEasy subscript operator is '['

566

Array operand(s) not allowed for this operator

567

Subscript into fixed size string is out of range

568

REDIM can only change dimension sizes of ATEasy arrays

569

REDIM of array '<string>' requires exactly <number> dimension sizes

Expression Result Type Errors

Error Code

Description

570

Expected integer expression

571

The value of this expression must be an integer

572

The value of this expression must be a string

573

Expected integer or string expression

574

Expected numeric expression

575

Expected numeric or string expression

576

Expected string expression

577

Result of evaluating expression must not be array

578

Expected form

579

Expected Boolean expression

580

Expected integer or object expression

581

Any type is only allowed for Dll procedure parameters in ATEasy 4 or 3

582

Expected form or object

Member Selection Error

Error Code

Description

590

Missing member name

591

'<string>' does not have members

592

'<string>' is not a public member of '<string>'

593

Only Enum type name can be followed by member ('.') operator

594

Unexpected member ('.') operator

595

Member operator ('.') can be used on array element and not arrays

596

'<string>' is not a field in struct <string>'

Procedure Definition Errors

Error Code

Description

597

Item pointed to by return value for a procedure of type Any must not be local to the procedure

598

Return value for a procedure of type Any must have the form '& x'

599

Expected return value

600

Can't return a value from subroutine procedure

601

Return type '<type>' for current procedure cannot be resolved

602

Function has no return statement

603

Control event must be called with a control class (in a form or a variable of the type AControl)

Procedure Call Errors

Error Code

Description

604

The arguments passed to procedure ''<name>' do not uniquely identify one of the overloaded versions of this procedure

605

None of the overloaded versions of procedure ''<name>' will accept the number of arguments passed and/or have a parameter # %d which will accept the type of argument passed

606

None of the overloaded versions of procedure ''<name>' have zero parameters

607

Event assigned to procedure variable must not be empty

608

Expected '(' following call of procedure '<string>'

609

Operator is not valid between procedure type and variant type

610

Too many arguments passed to procedure '<string>'

611

Type of argument is not the same as type of Var parameter '<string>' in procedure '<string>'

612

Type of argument is incompatible with Val parameter '<string>' in procedure '<string>'

613

Type of argument is incompatible with Var parameter '<string>' in procedure '<string>'

614

Size of dimension #<number> of argument is out-of-range for IoTable parameter '<string>' in '<string>'

615

Type '<string>' for parameter '<string>' in procedure '<string>' cannot be resolved

616

No argument supplied for required parameter '<string>' in procedure '<string>'

617

Procedure passed to CreateThread must have one Val parameter of type Long

618

Return type '<string>' for procedure '<string>' cannot be resolved

619

Argument is incompatible with object Val parameter '<string>' in procedure '<string>'

620

Expected l-value, for example, variable, array element, struct field, for Var parameter '<string>' in procedure '<string>'

621

Array on right side of assignment has different number of dimensions than array '<string>' on the left

622

Array on right side of assignment has different number of dimensions than array '<string>' on the left

623

Array argument expression passed to non-array parameter '<string>' in procedure '<string>'

624

Cannot assign non-array to array '<string>'

625

Non-array argument passed to array parameter '<string>' in procedure '<string>'

626

Cannot assign array to non-array '<string>'

627

Array argument expression passed to non-array parameter '<string>' in procedure '<string>'

628

Argument passed to ArgMissing() must be an optional parameter of the current procedure.

629

Object passed must be a .NET delegate object

Commands Errors

Error Code

Description

630

No argument supplied for required parameter '<string>' in command procedure/IoTable '<string>'

631

Required argument(s) supplied for command procedure/IoTable '<string>'

632

No procedure or IoTable has been assigned to command '<string>'

633

'<string>' is not a top-level command item in module '<string>'

634

Command '<string>' contains no sub-commands

635

Module item '<string>' contains no commands

636

Too few arguments passed to command '<string>'

637

Too many arguments passed to command '<string>'

638

'<string>' is not a command item of '<string>' in module '<string>'

639

Command '<string>' is not public

640

The number of parameters for procedure '<name>' which is attached to command '<string>' has been reduced since it was attached.  Detach the procedure from the command and then re-attach it to fix the command definition.

Module Shortcut Errors

Error Code

Description

645

Module shortcut '<string>' has no module document

Types Errors

Error Code

Description

650

Unresolved type.

651

Too many type levels.

652

Recursive definitions of struct '<string>' are not allowed

Conditional Compilation Errors

Error Code

Description

660

Expected project `define` name

661

Missing #endif

Variable Initial Value Errors

Error Code

Description

665

Unable to assign initial value of '<string>' to variable '<string>'

666

Compiler error #<num>:<string>, found in initial value of variable '<string>'

667

Initial value of variant may not be an object

Complex Constants (Array & Structure Values) Errors

Error Code

Description

670

Expected constant

671

Constant is incompatible with variable, array element, or struct field being initialized

672

Must be array or struct

673

Too few elements for complex literal

674

Too many elements for complex literal

675

Expected complex literal

676

Unexpected complex literal

677

Unable to negate literal

678

Cannot pass complex literal to overload procedure '<proc_name>' -- a specific parameter is needed as a model for scanning the complex literal

Assignment (Syntax, Type Compatibility) Errors

Error Code

Description

680

Expected l-value, e.g.: variable, array element, struct field

681

Right side of assignment must have same type as left

682

Right side of assignment is not compatible with left

683

Not same type

684

Array on right cannot be assigned to array '<string>' on the left - size of dimension # '<string>' differs

685

Expected value for put of property '<string>'

686

Cannot assign to read-only property

687

Object types are assignment incompatible

688

String is not the name of a procedure

689

Can't assign to method

690

Cannot read value of write-only property '<string>'

691

Control '<string>' in form '<string>' has no class

692

Left side of assignment must not be Const

693

Cannot assign indirect through Val Any parameter

Scope Errors

Error Code

Description

700

Not in a form

701

Not in program

702

Not in driver

703

No system module exists

704

Not in control

705

Not in menu

Descof, Sizeof, Typeof Operators Errors

Error Code

Description

706

Sizeof or Typeof operand has no type or is not a type name

707

Nested Sizeof or Typeof operator

708

Not a named symbol which can have a description

New Operator Errors

Error Code

Description

710

Expected .NET class name

711

.NET class is not create-able.

712

Only constructor parameter list can follow NET class name for New operator

713

Non-static .NET member `<string>.<string>` must be referenced as an object member

714

Parameters are not allowed when creating a COM object

Comparison Operators Errors

Error Code

Description

718

Expected operand of type '<string>'

719

Only = or '<>' allowed for operands of type '<string>'

Statement Order of Nesting Errors

Error Code

Description

720

This statement must be in a loop

721

Unexpected keyword '<string>'

722

Unexpected keyword '<string>' after keyword '<string>'

723

No matching 'End...' keyword for '<string>'

724

Statement must be keyword only

725

Invalid start of statement

Select & Case Statement Errors

Error Code

Description

730

Case value must be a constant

731

Illegal Goto into a Case block

732

No statements are allowed between SELECT statement and first CASE statement

733

SELECT statement must contain at least one CASE statement

Error Statement Errors

Error Code

Description

735

Expected integer value as first parameter in Error statement

For Statement Errors

Error Code

Description

740

Expected To or Downto keyword

741

For statement must start with assignment of the loop variable

742

For statement loop index must be a simple variable

If Statement Errors

Error Code

Description

744

Expected 'Then' keyword

Ignore, Retry Statements Errors

Error Code

Description

745

Ignore statement not in procedure

746

Retry statement not in procedure

Print Statement Errors

Error Code

Description

749

Expressions of this type can't be printed

750

Missing semicolon after Using keyword

751

Print Using statement has no parameters

752

Value to be printed by Print Using must be numeric

753

Expected print separator : comma, semicolon, or end-of-line

DLL procedures Errors

Error Code

Description

754

Warning: Dll procedures in '<string>' not checked since ATEasy was unable to load Dll file '<string>'

755

Unable to load Dll file '<string>' for ATEasy Dll Library '<string>'

756

Dll procedure '<string>' is undefined since ordinal '<string>' is not exported by Dll file '<string>'

757

Dll procedure '<string>' is undefined since name '<string>' is not exported by Dll file '<string>'

758

Compiler error #<num>:<string>

759

Expected name of ATEasy DLL library

Return Statement Errors

Error Code

Description

760

Return statement not in procedure

Form Statement Errors

Error Code

Description

761

Expected form object or window handle

762

Unable to load the form, form variable is missing a form type

Run Statement Errors

Error Code

Description

765

Argument in Run statement is not string or object, or object is not a program

766

Missing argument in Run statement

Task & Test Statements Errors

Error Code

Description

770

Bad expression type in Test/Task/Run statement

771

Task statement requires an argument

772

An expression of this type can't be used to identify a task

773

Test statement requires an argument

774

An expression of this type can't be used to identify a test

AddHandler & RemoveHandler Statements Errors

Error Code

Description

775

Expected string operand specifying event name

776

Expected procedure operand or string operand with procedure path name

777

First parameter of an event handler procedure must be a Val of object type

778

Event handler procedure cannot be inside a form

Try, Catch, EndTry Statements Errors

Error Code

Description

780

Expected module name

781

Missing Catch in a Try statement

Miscellaneous Errors

Error Code

Description

785

Undefined symbol '<number>'

786

Syntax error

787

*** Internal Error ***

788

*** Not Implemented yet ***

789

Compiler error #<num>: <string>, found in '<string>' in line <num>

UI -- Doit!/LoopIt!, Watch, etc. Errors

Error Code

Description

791

Statement not allowed in Debug window

792

Unable to call ArgMissing() in the top-level Doit code

793

Module is not in active project

794

Procedure/method call not allowed in watch expression

795

Cannot evaluate watch expression

796

Invalid watch expression

797

Unable to use an un-initialized VAR param '<number>' in Doit mode in procedure '<number>'

798

Error in initial value for variable `<string>`

799

Compile/Build stopped by the user

Compiler Warnings (v8)

Error Code

Description

1001

Command '%s' has no assigned procedure

1002

Error #%d during parse of command fill-in arguments: %s

1003

Type '%s' for '%s' is undefined

1004

Variable '%s' in '%s' is unreferenced

1005

Parameter '%s' in '%s' is unreferenced

1006

Procedures in above DLL not checked since ATEasy was unable to load DLL file '%s' : %s

1007

DLL procedure '%s' is undefined since ordinal '%s' is not exported by DLL file '%s'

1008

DLL procedure '%s' is undefined since name '%s' is not exported by DLL file '%s'

1009

Empty Export List for ATEasy DLL

1010

ATEasy DLL Exporting '%s' : ATEasy not support calling function with array from external application, use DWord type and MemoryCopy instead

1011

ATEasy not support callback procedure from external application

1012

ATEasy not support Any data type from external application