CONST Example
Example:
|
| ||
|
| ||
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This example shows the definition of a CONST value named MAXNDX. An array of size MAXNDX is then created and a loop is repeated MAXNDX size. Through use of the constant value, a change to the values of MAXNDX will alter the size of the array and the array processing loop.
![]() |