Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-09-2005, 10:53 AM   #1
LQ Newbie
Registered: Jun 2005
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
Lightbulb Fortran g95 source-code line truncation feature is annoying

Hi, I have successfully installed g95 in Linux. It is the GNU compiler for Fortran 95. I have successfully compiled programs with it.

My problem is that g95 truncates every line of the source code to be 132 characters long or less. But I need to write some very long lines that exceed this limit.

How can I get around this problem?

Is there a character sequence I can put in the source code that indicates that the command on one line continues on the next? Is there a compiler option that turns of the truncation feature?

Help would be appreciated greatly.

--David Grayson
Old 06-09-2005, 12:15 PM   #2
LQ Newbie
Registered: Jun 2005
Distribution: Slackware
Posts: 2

Original Poster
Rep: Reputation: 0
Never mind! I solved the problem. You need to put an ampersand at the end of the first line.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Improving the tab command line feature Slith(++1) Linux - General 3 09-23-2005 09:05 PM
Single most annoying feature of Linux? baldy3105 General 22 06-27-2005 08:40 AM
list compilers, run fortran code? nate1 Linux - Newbie 4 06-08-2005 01:20 AM
annoying mozilla 'feature' Smokey Linux - Software 4 08-31-2004 05:34 PM
How do I add a timeout feature to this code? Dr Twox Programming 3 07-12-2004 05:19 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration