- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This may seem trivial but...
Is there some way to turn off the column 7 - 72 Fixed form line lengths? I have fixed form line length set to 132 but I really prefer to have free form.
Is there some way to turn off the column 7 - 72 Fixed form line lengths? I have fixed form line length set to 132 but I really prefer to have free form.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is more to free form than a line length of up to 132. The significance of blanks is different, and line continuation is signified differently. It is possible to write Fortran source that is valid in both modes, but few already-written codes are likely to be such.
If your file has a suffix of .f90, it is considered to be free-form.
The compiler also has the options /free and /fixed and /extfor to let you choose the form. Choose the combination that suits your situation.
If your file has a suffix of .f90, it is considered to be free-form.
The compiler also has the options /free and /fixed and /extfor to let you choose the form. Choose the combination that suits your situation.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is more to free form than a line length of up to 132. The significance of blanks is different, and line continuation is signified differently. It is possible to write Fortran source that is valid in both modes, but few already-written codes are likely to be such.
If your file has a suffix of .f90, it is considered to be free-form.
The compiler also has the options /free and /fixed and /extfor to let you choose the form. Choose the combination that suits your situation.
If your file has a suffix of .f90, it is considered to be free-form.
The compiler also has the options /free and /fixed and /extfor to let you choose the form. Choose the combination that suits your situation.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page