Looping Structures are blocks of code that repeat – or loop – multiple times based on any variety of criteria, values or formulae. In Ninox, Looping Structures include the “If/Then”, “For/Do”, and “While/Do”. As the “If/Then” structure, technically, does not repeat multiple times, repeatedly, it is not a true “Looping” structure, but it is included in this section based on the similarity of its programmatic syntax and it’s strategic application with any Ninox database.
Looping structures in Ninox have the following, similar characteristics:
- Their behavior is based completely on the results of the evaluation of some block of code. That block of code will ultimately return a True of False evaluation driving the behavior of the entire structure itself
- End users can control the behavior of the block when variables, configured as parameters are part of the evaluation clause
- Variables defined inside of a structure will cease to exist upon the ending of the structure
- Looping Structures embedded inside of other looping structures will execute in sequential order based on their relative position (line position) inside the outer-most structure.