Reserved Identifiers
161
NetLinx Programming Language Reference Guide
Keywords & Run-Time Library Functions (Cont.)
VARIABLE_TO_XML
(Cont.)
RELEASE:
{
}
}
// Convert To Binary
lPos = 1
slReturn = STRING_TO_VARIABLE(MyAlbumStruct, sBinaryString,
slPos)
// OR Convert To XML
slPos = 1
slReturn = XML_TO_VARIABLE (MyAlbumStruct, sXMLString, slPos,
0)
VOLATILE
This keyword is used as part of a variable declaration to specify that storage
space for the variable be allocated in volatile memory. Variables stored in vola-
tile memory are not retained when the system is powered-down, as are vari-
ables stored in non-volatile memory. The trade-off is that volatile memory is
generally more plentiful and therefore a good choice for storing large data
arrays.
WAIT
This keyword delays execution of one or more statements for a specified
period of time. The syntax is:
WAIT time ['<name>']
{
(* wait statements *)
}
For more information, refer to the
Waits
section on page 36.
WAIT_UNTIL
This keyword is used to delay execution of one or more statements until a
specified condition is met. The syntax is:
WAIT_UNTIL <condition> ['<name>']
{
(* wait statements *)
}
For more information, refer to the
Waits
section on page 36.
WHILE
This keyword executes its statement block as long as its associated condition
evaluates to true. The condition is evaluated before the first pass through the
statements. Therefore, if the conditional expression is never true the condi-
tional statements will never be executed.
WHILE (<conditional expression>)
{
(* conditional statements *)
}
Refer to the discussion on programming loop constructs under the
Language
Elements
section on page 31 for more information.
WIDECHAR
This keyword is an intrinsic data type representing a 16-bit unsigned integer.
This data type is intended for use with Unicode character strings.
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...