Cicode Programming Reference > Using Arrays > Using Two-dimensional Arrays

Using Two-dimensional Arrays

To use a two-dimensional array:

REAL ArrayA[5][2]=1,2,3,4,5,6,7,8.3,9.04,10.178;

This array sets the following values:

ArrayA[0][0]=1

ArrayA[0][1]=2

ArrayA[1][0]=3

ArrayA[1][1]=4

ArrayA[2][0]=5

ArrayA[2][1]=6

ArrayA[3][0]=7

ArrayA[3][1]=8.3

ArrayA[4][0]=9.04

ArrayA[4][1]=10.178

See Also

Using Arrays

Using Cicode Files