CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   What means % in Fortran? (

What means % in Fortran April 19, 2004 23:27

What means % in Fortran?
Hi, friends:

Can you tell me what means A%B in Fortran? Where both A and B are arrays, and can be of different dimensions.

Thank you,


J April 20, 2004 03:25

Re: What means % in Fortran?
It's a derived type.


For example you make a type called circle which one can store its color and radius:

type circle real::radius char(len=10)::color end type circle

Now in the program to store the circle's radius you type


Wen Long April 20, 2004 14:34

Re: What means % in Fortran?
cool, it's like C++ and Java thanks,

All times are GMT -4. The time now is 09:40.