CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

What means % in Fortran?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 19, 2004, 23:27
Default What means % in Fortran?
What means % in Fortran
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,

  Reply With Quote

Old   April 20, 2004, 03:25
Default Re: What means % in Fortran?
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


  Reply With Quote

Old   April 20, 2004, 14:34
Default Re: What means % in Fortran?
Wen Long
Posts: n/a
cool, it's like C++ and Java thanks,
  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fortran Compiler-CFX12.1 Araz CFX 12 November 2, 2014 13:46
Intrinsic Procedure 'ISNAN' in GNU FORTRAN 77 hawk Main CFD Forum 1 April 12, 2005 22:13
visual fortran Monica Main CFD Forum 1 August 28, 2004 20: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 09:34

All times are GMT -4. The time now is 10:02.