>  Docs Center  >  IDL Reference
IDL

Statements

x
Title 
Description 
BEGIN...END Defines a block of statements.
BREAK Exits from a loop (FOR, WHILE, REPEAT), CASE, or SWITCH statement.
CASE Selects one statement for execution, depending on the value of an expression.
CONTINUE Starts the next iteration of the enclosing FOR, WHILE, or REPEAT loop.
FOR Executes one or more statements repeatedly, incrementing or decrementing a variable with each repetition, until a condition is met.
FOREACH Executes one or more statements for each element of a variable (which can be an array, list, or hash table). Within the FOREACH loop, the element's value and (optionally) the key or index to which the element corresponds are available.
GOTO Transfers program control to point specified by label.
IF...THEN...ELSE Conditionally executes a statement or block of statements.
REPEAT...UNTIL Repeats statement(s) until expression evaluates to true. Subject is always executed at least once.
SWITCH Selects one statement for execution, depending upon the value of an expression.
WHILE...DO Performs statement(s) as long as expression evaluates to true. Subject is never executed if condition is initially false.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us