*loopif()
Conditionally executes a block of code while a condition is true.
Syntax
*loopif (expression)
Type
HyperMesh Template Command
Inputs
- expression
- A relational expression.
Example
If expression evaluates to a nonzero value, then the statements contained within the loop block are executed. The example below shows the usage of the loop:
*counterset(counter1,1)
  *loopif([counter1 <= 5])
  *end()
  *counterinc(counter1)   
  *endloop()