Directly Represented Variables

The system enables the use of directly represented variables in the source of programs to represent an unwired channel. Unwired channels are those not linked to a declared I/O variable. The identifier of a directly represented variable always begins with the "%" character.
The naming conventions of a directly represented variable for a channel of a single I/O device. "s" is the slot number of the I/O device. "c" is the number of the Channel:
Single device naming conventions
Convention
Description
%IXs.c
unwired Channel of a Boolean input I/O device
%IBs.c
unwired Channel of a Short integer, Unsigned short integer, or BYTE input I/O device
%IWs.c
unwired Channel of an Integer, Unsigned integer, or WORD input I/O device
%IDs.c
unwired Channel of a Double integer, Unsigned double integer, Double word, or DATE input I/O device
%ILs.c
unwired Channel of a Long integer, Unsigned long integer, Long word, or Long real input I/O device
%IRs.c
unwired Channel of a Real input I/O device
%ITs.c
unwired Channel of a Time input I/O device
%ISs.c
unwired Channel of a String input I/O device
%QXs.c
unwired Channel of a Boolean output I/O device
%QBs.c
unwired Channel of a Short Integer, Unsigned short integer, or BYTE output I/O device
%QWs.c
unwired Channel of an Integer, Unsigned integer, or WORD output I/O device
%QDs.c
unwired Channel of a Double integer, Unsigned double integer, Double word, or DATE output I/O device
%QLs.c
unwired Channel of a Long integer, Unsigned long integer, Long word, or Long real output I/O device
%QRs.c
unwired Channel of a Real output I/O device
%QTs.c
unwired Channel of a Time output I/O device
%QSs.c
unwired Channel of a String output I/O device
The naming conventions of a directly represented variable for a Channel of a complex device. "s" is the slot number of the device. "b" is the index of the single I/O device within the complex device. "c" is the number of the Channel:
Complex device naming conventions
Convention
Description
%IXs.b.c
unwired Channel of a Boolean input I/O device
%IBs.b.c
unwired Channel of a Short Integer, Unsigned short integer, or BYTE input I/O device
%IWs.b.c
unwired Channel of an Integer, Unsigned integer, or WORD input I/O device
%IDs.b.c
unwired Channel of a Double integer, Unsigned double integer, Double word, or DATE input I/O device
%ILs.b.c
unwired Channel of a Long integer, Unsigned long integer, Long word, or Long real input I/O device
%IRs.b.c
unwired Channel of an Real input I/O device
%ITs.b.c
unwired Channel of a Time input I/O device
%ISs.b.c
unwired Channel of a String input I/O device
%QXs.b.c
unwired Channel of a Boolean output I/O device
%QBs.b.c
unwired Channel of a Short Integer, Unsigned short integer, or BYTE output I/O device
%QWs.b.c
unwired Channel of an Integer, Unsigned integer, or WORD output I/O device
%QDs.b.c
unwired Channel of a Double integer, Unsigned double integer, Double word, or DATE output I/O device
%QLs.b.c
unwired Channel of a Long integer, Unsigned long integer, Long word, or Long real output I/O device
%QRs.b.c
unwired Channel of a Real output I/O device
%QTs.b.c
unwired Channel of a Time output I/O device
%QSs.b.c
unwired Channel of a String output I/O device
Example
%QX1.6 6th channel of the I/O device #1 (boolean output) %ID2.1.7 7th channel of the I/O device #1 in the device #2 (integer input)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal