2 compiler error messages – Rice Lake iRite IDE User Manual

Page 90

Advertising
background image

86

920i

Programming Reference

6.2

Compiler Error Messages

NumericKeyReleased

Runs when any key on the numeric keypad (including CLR or decimal point) is released. Use
the EventKey function within this handler to determine which key caused the event.

NxKeyPressed

Runs when a numeric key is pressed, where x=the key number 0–9

NxKeyReleased

Runs when a numeric key is released, where x=the key number 0–9

PortxCharReceived

Runs when a character is received on port x, where x is the port number, 1–32. Use the
EventChar function within these handlers to return a one-character string representing the
character that caused the event.

PrintFmtx

Runs when a print format x (1–10) that includes the event raised (<EV>) token is printed.

PrintKeyPressed

Runs when the PRINT key is pressed

PrintKeyReleased

Runs when the PRINT key is released

ProgramStartup

Runs when the indicator is powered-up or when exiting setup mode

SoftKeyPressed

Runs when any softkey is pressed. Use the EventKey function within this handler to determine
which key caused the event.

SoftKeyReleased

Runs when any softkey is released. Use the EventKey function within this handler to determine
which key caused the event.

SoftxKeyPressed

Runs when softkey x is pressed, where x=the softkey number, 1–5, left to right

SoftxKeyReleased

Runs when softkey x is released, where x=the softkey number, 1–5, left to right

SPxTrip

Runs when setpoint x is tripped, where x is the setpoint number, 1–100)

TareKeyPressed

Runs when the TARE key is pressed

TareKeyReleased

Runs when the TARE key is released

TimerxTrip

Runs when timer x is tripped, where x is the timer number, 1–32

UnitsKeyPressed

Runs when the UNITS key is pressed

UnitsKeyReleased

Runs when the UNITS key is released

UserxKeyPressed

Runs when a user-defined softkey is pressed, where x is the user-defined key number, 1–10

UserxKeyReleased

Runs when a user-defined softkey is released, where x is the user-defined key number, 1–10

UserEntry

Runs when the ENTER key or Cancel softkey is pressed in response to a user prompt

ZeroKeyPressed

Runs when the ZERO key is pressed

ZeroKeyReleased

Runs when the ZERO key is released

Error Messages

Cause (Statement Type)

Argument is not a handler name

Enable/disable handler

Arguments must have intrinsic type

Write/Writeln

Array bound must be greater than zero

Type declaration

Array bound must be integer constant

Type declaration

Array is too large

Type declaration

Conditional expression must evaluate to a discrete data type

If/while statement

Constant object cannot be stored

Object declaration

Constant object must have initializer

Object declaration

Exit outside all loops

Exit statement

Expected array reference

Subscript reference

Table 6-2.

iRite Compiler Error Messages

Handler

Description

Table 6-1.

920i Event Handlers (Continued)

Advertising
This manual is related to the following products: