gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
1619 Posts in 535 Topics by 781 Members - Latest Member: chekyl43 January 27, 2023, 04:55:41 PM
*
gfx* Home | Help | Search | Login | Register | gfx
gfx
Absoft User Forum  |  Support  |  Macintosh  |  Line Length Problem
gfx
gfxgfx
 

Author Topic: Line Length Problem  (Read 5036 times)

DanSandbergUCONN

  • Newbie
  • *
  • Posts: 1
Line Length Problem
« on: January 15, 2008, 01:48:41 PM »
I have a 15,000 line program written in FORTRAN 77 that I am trying to compile in collaboration with another programmer.  The other programmer swears the program compiles on power PC Mac and Windows with no problem.  However, there are many lines of code in the source file in excess of 72 characters, which a fellow FORTRAN programmer tells me is a violation of FORTRAN 77. 

Is there a way to specify in AbsoftTools (the compiler I am using) to allow lines that are longer than 72 characters? 

How is it that my collaborator is able to compile the source file with no problems?

I know a continuation can be inserted, i.e.

       code line 1
          &code line 2

but this is proving to be a chore and it frustrates me that the other programmer isn't having the same problems.

Bart Hibbs

  • Newbie
  • *
  • Posts: 9
Re: Line Length Problem
« Reply #1 on: January 15, 2008, 03:03:16 PM »
Under the "configure" menu select "set project options".
Click "F77", then on "wide format".

Its a fairly common extension to the F77 language, so thats how he can compile it.

Absoft User Forum  |  Support  |  Macintosh  |  Line Length Problem
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!