Cicode Programming Reference > Using Arrays > Using Array Elements in Loops

Using Array Elements in Loops

You can set up loops that deal efficiently with arrays by incrementing the index number. The following example shows a method of initializing an array:

REAL Array[10]
:
FOR Counter = 0 TO 9 DO
Array[Counter] = 0
END
RETURN Total
:

See Also

Working with Conditional Executors

Using Arrays

Using Cicode Files