Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Free format .f files

Hi Joe,

in the recent release of Photran you can assign a needed format to all files in a project . If you go to the properties of the project, you should see [Fortran General > Source Form] and custom settings for various extensions. Hope this helps.

Maksym

--- On Fri, 7/2/10, Joe Krahn <krahn@xxxxxxxxxxxxx> wrote:

> From: Joe Krahn <krahn@xxxxxxxxxxxxx>
> Subject: [photran] Free format .f files
> To: photran@xxxxxxxxxxx
> Date: Friday, July 2, 2010, 2:04 PM
> IMHO, we should aim towards
> converting all code to free-format, and go
> back to using just the plain ".f" suffix for Fortran source
> files. the
> main reason that the ".f90" suffix was created is to
> indicate free
> format. I know that some people are using ".f95", ".f03"
> and ".f08", but
> changing the suffix for each language revision is not the
> normal
> convention for programming languages.
> 
> I can select free-format in the properties for compiling
> the file, but
> the source view continues to see it as fixed format. Is
> there a way to
> fix this?
> 
> For indication a standards revision, I would rather see it
> supported in
> the language, for example:
>  use, intrinsic :: ISO_FORTRAN_2008
> 
> Similarly, I think it is best not to put 'implicit none'
> everywhere. I
> know it is against the current convention, but I think it
> is better to
> always use a compiler option that disables default implicit
> variables.
> 
> Thanks,
> Joe Krahn
> _______________________________________________
> photran mailing list
> photran@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/photran
> 


      



Back to the top