Cicode Programming Reference > Using Arrays > Naming Arrays

Naming Arrays

Throughout the body of a Cicode function, a Cicode variable array is referred to by its name, and individual elements of an array are referred to by their index. The index of the first element of an array is 0 (that is a four element array has the indices 0,1,2, and 3). You can name a variable any valid name except for a reserved word; for example:

STRING			StrArray[5]; 	! list
REAL Result[5][2]; ! 2-D table
INT IntArray[4][3][2]; ! 3-D table

See Also

Using Arrays

Using Cicode Files