EasyManuals Logo

AMX NETLINX PROGRAMMING LANGUAGE User Manual

AMX NETLINX PROGRAMMING LANGUAGE
246 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #150 background imageLoading...
Page #150 background image
Reserved Identifiers
134
NetLinx Programming Language Reference Guide
Keywords & Run-Time Library Functions (Cont.)
HOLD This keyword defines a section in a BUTTON event handler for processing HOLD
events.
IF This keyword defines an IF statement; the IF statement provides conditional
branching of program execution.
IF (<expression>)
{
// statements
}
ELSE IF (<expression>)
{
// statements
}
ELSE
{
// statements
}
The ELSE IF and ELSE statements are optional. The braces delimiting the
statements, associated with each condition, are required only if there is more
than one statement. Refer to ELSE for more information. For example, the fol-
lowing syntax is correct:
IF (X > 0)
X = X - 1
INCLUDE This keyword allows you to include programming instructions from an external
file and have those instructions inserted at any point in the program.
INCLUDE '<filename>'
The parameter filename can be any valid (long) filename. If the file extension
is omitted, "AXI" is assumed. An INCLUDE statement can appear anywhere in
a program.
Note: There is no difference in functionality between the INCLUDE reserved
identifier and the #INCLUDE compiler directive. INCLUDE is supported for
backward-compatibility to Axcess.
INTEGER This keyword defines an intrinsic data type representing a 16-bit unsigned inte-
ger. This is the default data type if a non-array variable is declared without a
data type specified.
IP_CLIENT_CLOSE This function closes a port opened with IP_CLIENT_OPEN.
IP_CLIENT_CLOSE (INTEGER LocalPort)
Parameters:
• LocalPort: A non-zero integer value representing the local port on the
client machine to close.
Result: This function always returns 0. Errors are returned via the
DATA_EVENT ONERROR method. The following error may be returned:
9: Already closed
See the IP Communication section on page 189 or more information.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the AMX NETLINX PROGRAMMING LANGUAGE and is the answer not in the manual?

AMX NETLINX PROGRAMMING LANGUAGE Specifications

General IconGeneral
BrandAMX
ModelNETLINX PROGRAMMING LANGUAGE
CategorySoftware
LanguageEnglish

Related product manuals