Chang Woon Jang
Chang Woon Jang

Reputation: 125

Fortran real variable with parentheses

I am reading a Fortran code but I don't understand the real*8 variable declaration with parentheses like.

real*8::xxx21(2,3)

I know real*8 means but what is the meaning of (2,3), its parentheses?

I have tried the similar one from web but no many information there.

Upvotes: 1

Views: 1104

Answers (1)

This syntax denotes an array of shape 2 times 3.

I highly suggest you to learn the basics of the language before trying to understand any code.

Upvotes: 1

Related Questions