> 2. How about the maximum number of characters in the DATA module?
> Does the same rule apply?
Do you mean BLOCK DATA or MODULE ?
Anyway, the answer is Yes.
***********************************************************
I am using the data module. You have said that the limit is the same.
However, my Compaq Visual Fortran 6.6 excepts longer than 132 characters
per line in the source code files in any module.
Thanks.
Siddeek
****************************************
Jan van Oosterwijk wrote:
> At 16:22 07-11-2005 -0900, Siddeek wrote:
>
>> A couple of people have responded to my query in quick time. Many
>> thanks to them. Their answer is 132 characters to a line under
>> Fortran90 as well as Fortran2003.
>>
>> There are a few follow up questions, I need to get answers to:
>>
>> 1. Then, if a statement needs 396 characters, instead of writing
>> all 396 chrs in a single line, I may be able to write the statement
>> in three lines of 132 chrs each with a continuation character (&).
>> Does the blanks between words count?
>
>
> You will need (at least) 4 lines becaise of the & characters at the end.
> Blanks do count, indeed.
>
>
>> 2. How about the maximum number of characters in the DATA module?
>> Does the same rule apply?
>
>
> Do you meen BLOCK DATA or MODULE ?
> Anyway, the answer is Yes.
>
>> 3. I am using the Compaq visual Fortran 6.6 compiler with Fortran
>> 90 source codes. In a number of programs with free format source
>> codes, I have used single source lines exceeding 132 characters and
>> the compiler compiled the program successfully and the program also
>> ran without any errors. How does this work? Thanks.
>
>
> This is a so-called extension to the Standard.
>
>> Siddeek.
>>
>> Malcolm Cohen wrote:
>>
>>>
>>>
>>> 132 characters in a single line.
>>>
>>> This is unchanged in F2003.
>>>
>>> ................Malcolm Cohen
>>> (<mailto:[log in to unmask]>[log in to unmask])
>>>
>
>
>
> \---
>
> Best regards,
>
> Jan van Oosterwijk | "They that can give up essential liberty
> Netherlands | to obtain a little temporary safety deserve
> | neither liberty nor safety."
> | -- Benjamin Franklin (1759)
>
> write(*,*)transfer((/778985834,1869504886,1702130543,1785296754 &
> &,1635205227,1868849518,1819160175 /),(/'x'/)) ; end
>
> mailto:Jan <dot> vanOosterwijk <at> wanadoo <dot> NL
> http://huizen <dot> dto <dot> tudelft <dot> nl/vanOosterwijk/
>
|