Loops; While Statements; Medium_While Statements - AMX NETLINX PROGRAMMING LANGUAGE Manual

Programming language
Table of Contents

Advertisement

Language Elements
SWITCH (var)
{
}

Loops

WHILE statements

A
WHILE
condition is evaluated before the first pass through the statements. Therefore, if the conditional
expression is never true, the conditional statements are never executed. An example is:
WHILE (<conditional expression>)
{
}
Regarding

MEDIUM_WHILE statements

The
MEDIUM_WHILE
it internally to a
34
CASE 1:
{
(*statements go here*)
BREAK
}
CASE 3:
{
(*statements go here*)
BREAK
}
CASE 5:
{
(*statements go here*)
BREAK
}
DEFAULT:
{
(*statements go here*)
BREAK
}
statement executes its statement block as long as its associated condition evaluates to true. The
(* conditional statements *)
statements:
WHILE
Statements are executed repeatedly while the conditional expression evaluates to true.
The condition is tested before each pass through the conditional statements.
There is no timeout period as was the case with Axcess. The original intent of the timeout
period was to prevent
WHILE
NetLinx Central Controller handles bus updates through a separate execution thread, thereby
eliminating this potential problem.
statement is obsolete in NetLinx. The compiler accepts the statement but converts
statement. For example:
WHILE
loops from locking out updates to/from the AXlink bus. The
NetLinx Programming Language Reference Guide

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Netlinx studio 2

Table of Contents

Save PDF