Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 34 of 47

PDT 1100 Terminal Programmer's Guide: Syntax Errors

Pages 310 to 315 of 413, from PDT 1100 Terminal Programmer's Guide

The original document is the PDF (3.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Symbol PDT-1100

Page 310

Error Codes and Error Messages

Syntax Errors Table A-3 lists the syntax errors and their meanings. Table A-3. Syntax Errors Error Code

Message error 1:

Improper label format error 2:

Improper label name (redefinition, variable name, or reserved word used)

error 3:

“” missing error 4:

Improper expression error 5:

Variable name redefinition error 6:

Variable name redefinition error 7:

Variable name redefinition error 8:

Too many variables (work integer)

error 9:

Too many variables (work float)

error 10:

Too many variables (work string)

error 11:

Too many variables (register integer)

error 12:

Too many variables (register float)

error 13:

Too many variables (register string)

error 14:

Too many variables (common integer)

error 15:

Too many variables (common float)

error 16:

Too many variables (common string)

error 17:

Too many variables (work integer array)

error 18:

Too many variables (work float array)

error 19:

Too many variables (work string array)

error 20:

Too many variables (register integer array)

error 21:

Too many variables (register float array)

error 22:

Too many variables (register string array)

error 23:

Too many variables (common integer array)

A-5

Page 311

PDT 1100 Terminal Programmer’s Guide

Table A-3. Syntax Errors (Continued) Error Code

Message error 24:

Too many variables (common float array)

error 25:

Too many variables (common string array)

error 26: error 27: error 28: error 29: error 30: error 31: error 32: error 33: error 34: error 35:

Source line too long error 36: error 37: error 38: error 39: error 40: error 41:

Value out of range for integer constant error 42:

Value out of range for float constant error 43:

Value out of range for integer constant (hexadecimal expression)

error 44:

Improper hexadecimal expression error 45:

Symbol too long error 46: error 47: error 48: error 49:

A-6

Page 312

Error Codes and Error Messages

Table A-3. Syntax Errors (Continued) Error Code

Message error 50:

Incorrect use of IF...THEN...ELSE...ENDIF error 51:

Incomplete control structure ( IF...THEN...ELSE...ENDIF)

error 52:

Incorrect use of FOR...NEXT error 53:

Incomplete control structure ( FOR...NEXT)

error 54:

Incorrect FOR index variable error 55:

Incorrect use of SELECT...CASE...END SELECT error 56:

Incomplete control structure ( SELECT...CASE...END SELECT)

error 57:

Incorrect use of WHILE...WEND error 58:

Incomplete control structure ( WHILE...WEND)

error 59:

Incorrect use of DEF FN...EXIT DEF...END DEF error 60:

Incomplete control structure ( DEF FN...END DEF)

error 61:

Cannot use DEF FN in control structure error 62:

Operator stack overflow error 63:

Inside function definition error 64:

Function redefinition error 65:

Function definitions exceed 200 error 66:

Arguments exceed 50 error 67:

Total arguments exceed 500 error 68:

Mismatch argument type or number error 69:

Function undefined error 70:

Label redefinition error 71:

Syntax error error 72:

Variable name redefinition error 73:

Improper string length error 74:

Improper array elements number error 75:

Out of space for register variable area

A-7

Page 313

PDT 1100 Terminal Programmer’s Guide

Table A-3. Syntax Errors (Continued)

A-8

Error Code

Message error 76:

Out of space for work, common variable area error 77:

Initial string too long error 78:

Array symbols exceed 30 for one DIM statement error 79:

Record number out of range (1 to 32767)

error 80:

Label undefined error 81:

Must be DATA statement label error 82:

“(” missing error 83:

‘)’ missing error 84:

‘]’ missing error 85:

‘,’ missing error 86:

‘;’ missing error 87:

'DEF' missing error 88:

'TO' missing error 89:

'INPUT' missing error 90:

‘{‘ missing error 91:

Improper initial value for integer variable

Page 314

Appendix B Reserved Words Table B-1 lists reserved words (keywords) of BASIC 3.0. These words must not be used as a variable name or label name. Table B-1. Reserved Words A

B

C

ABS

COMMON

ERROR

AND

CONT

ETB

APLOAD

COUNTRY

ETX

AS

CSRLIN

EXIT

ASC

CURSOR

BCC$

FIELD

DATA

FN

BEEP

DATE$

FOR

CALL

DEF

FRE

CASE

DEFREG

CHAIN

DIM

GO

ELSE

GOSUB

CHR

END

GOTO

CLFILE

EOF

H

HEX

CLOSE

ERASE

I

IF

CLS

ERL

$INCLUDE

CODE

ERR

INKEY

INP

ON

SOH

CHKDGT

D

F

E

G

GET

B-1

Page 315

PDT 1100 Terminal Programmer’s Guide

Table B-1. Reserved Words (Continued)

K

L

INPUT

OPEN

STEP

INSTR

OR

STR

INT

OUT

STX

KEY

O

B-2

T

THEN

POWER

TIME

KPLOAD

PRINT

TIMEA

LEFT

PRINT#

TIMEB

LEN

PUT

TIMEC

READ

TO

R

LINE

RECORD

U

USING

LOC

REM

V

VAL

LOCATE

RESTORE

W

WAIT

LOF

RESUME

WEND

MARK

RETURN

WHILE

MID

RIGHT$

MOD N

POS

KILL

LET

M

P

S

SCREEN

NEXT

SEARCH

NOT

SELECT

OFF

SEP

X

XFILE XOR