
Reserved Identifiers
146
NetLinx Programming Language Reference Guide
Keywords & Run-Time Library Functions (Cont.)
REBUILD_EVENT() (Cont.)
{
SET_LENGTH_ARRAY(nBtns,4000)
REBUILD_EVENT()
}
BUTTON_EVENT[dvTP,nBtns]
{
PUSH:
{
// ...
}
}
// end
REDIRECT_STRING
This keyword is used to pass all strings from device 1 to device 2 and all
strings from device 2 to device 1. This is called a redirection and you can
assign up to eight at one time.
REDIRECT_STRING (Number, DEV1, DEV2)
The parameter Number identifies the particular redirection (1-8). To cancel a
redirection, pass zero for Device1 and Device2.
Note
: Redirections are lost if system power is turned off.
RELEASE
This keyword declares a block of code to be executed when a release event is
received for the associated device and channel.
RELEASE [DEVICE,CHANNEL]
RELEASE [DEVCHAN[ ]]
{
// statements
}
This keyword also defines a section in a
BUTTON_EVENT
handler for process-
ing
RELEASE
events.
RELEASE_CHANNEL
This keyword contains the number of the channel that was just turned off due
to an input change. The value remains valid for one pass through mainline.
The inactive state of this variable is
all fields equal to zero
.
RELEASE_DEVCHAN
This keyword contains the device-channel (a
DEVCHAN
structure) that was just
turned off due to an input change. Individual fields of this
DEVCHAN
structure
can be accessed using dot-operator syntax, as shown below:
RELEASE_DEVCHAN.Device
RELEASE_DEVCHAN.Device.Number
RELEASE_DEVCHAN.Device.Port
RELEASE_DEVCHAN.Device.System
RELEASE_DEVCHAN.Channel
These fields remain valid for one pass through mainline. The inactive state of
this variable is all fields equal to zero.
RELEASE_DEVICE
This system variable contains the number of the device associated with the
channel that was just turned off due to an input change. The value remains
valid for one pass through mainline. The inactive state of this variable is all
fields equal to zero.
Summary of Contents for NETLINX PROGRAMMING LANGUAGE
Page 15: ...Table of Contents xiii NetLinx Programming Language Reference Guide...
Page 16: ...xiv NetLinx Programming Language Reference Guide Table of Contents...
Page 18: ...Introduction 2 NetLinx Programming Language Reference Guide...
Page 76: ...Language Elements 60 NetLinx Programming Language Reference Guide...
Page 106: ...Combining Devices Levels and Channels 90 NetLinx Programming Language Reference Guide...
Page 112: ...Master To Master M2M 96 NetLinx Programming Language Reference Guide...
Page 182: ...Reserved Identifiers 166 NetLinx Programming Language Reference Guide...
Page 204: ...NetLinx UniCode Functions 188 NetLinx Programming Language Reference Guide...
Page 244: ...Appendix B Glossary 228 NetLinx Programming Language Reference Guide...
Page 245: ...Appendix B Glossary 229 NetLinx Programming Language Reference Guide...