You can use Fortran 90 array-section syntax when specifying C arrays. This syntax is useful, for example, if you want to print the values of only a subset of the elements of an array. The syntax is:
(lower-bound: upper-bound: stride)
where
lower-bound is the lowest-numbered element you choose along a dimension; it defaults to 0.
upper-bound is the highest-numbered element you choose along the dimension; it defaults to the highest-numbered element for the dimension.
stride is the increment by which elements are chosen between the lower bound and upper bound; it defaults to 1.
You must enclose the values in parentheses (rather than brackets), as in Fortran. If your array is multidimensional, you must separate the dimension specifications with commas within the parentheses, once again as in Fortran.
For example, if you have this array:
int a[10][20];
then you can issue this command in Prism to print the values of elements 2-4 of the first dimension and 2-10 of the second dimension:
(prism) print a(2:4,2:10)