|
[Sponsors] |
April 20, 2004, 00:27 |
What means % in Fortran?
|
#1 |
Guest
Posts: n/a
|
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, Wen |
|
April 20, 2004, 04:25 |
Re: What means % in Fortran?
|
#2 |
Guest
Posts: n/a
|
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 circle%radius=15.0 |
|
April 20, 2004, 15:34 |
Re: What means % in Fortran?
|
#3 |
Guest
Posts: n/a
|
cool, it's like C++ and Java thanks,
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fortran Compiler-CFX12.1 | Araz | CFX | 13 | March 27, 2017 06:37 |
Intrinsic Procedure 'ISNAN' in GNU FORTRAN 77 | hawk | Main CFD Forum | 1 | April 12, 2005 23:13 |
visual fortran | Monica | Main CFD Forum | 1 | August 28, 2004 21:45 |
Fortran77 or Fortran 90 | Swapnil | CFX | 2 | November 26, 2002 16:16 |
Why Favoring Fortran over C/C++? | Zi-Wei Chiou | Main CFD Forum | 35 | September 26, 2001 10:34 |