User Boolean

C Definition

long dms_UserBoolean(long NodeNumber, long Index)

Pascal Definition

function dms_UserBoolean(NodeNumber:longint; Index:longint):longint;

Description

User Booleans can be used to transfer information between the host and resident controller programs. The 100 element array [1..100] of booleans can be read and written from both sides. There is no established convention for how the values are used. Generally they provide parameters to resident controller routines and return results back. The size of the array is a constant inside the interpreter package that can be adjusted as required.

Escapes

If the array index is out of bounds a Parameter Out Of Range Escape Code will occcur.

Related Topics

User Longints
User Singles
Begin User Task
Abort User Task