Volatile; Wait; Wait_Until; While - AMX NETLINX PROGRAMMING LANGUAGE Manual

Programming language
Table of Contents

Advertisement

Keywords & Run-Time Library Functions (Cont.)
VARIABLE_TO_XML
(Cont.)

VOLATILE

WAIT

WAIT_UNTIL

WHILE

WIDECHAR

NetLinx Programming Language Reference Guide
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)
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.
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.
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.
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.
This keyword is an intrinsic data type representing a 16-bit unsigned integer.
This data type is intended for use with Unicode character strings.
Reserved Identifiers
161

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netlinx studio 2

Table of Contents