A subscript is a parenthesized list of subscript expressions. There must be one subscript expression for each dimension of the array.
The form of a subscript is:
( s [, s ] )
where s is a subscript expression. The parentheses are part of the subscript.
Example: Declare a two-by-three array with the declarator:
REAL M(2,3)
With the above declaration, you can assign a value to a particular element, as follows:
M(1,2) = 0.0
The above code assigns 0.0 to the element in row 1, column 2, of array M.