LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 06-09-2005, 10:53 AM   #1
elavid
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
elavid
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.

http://www.fkf.mpg.de/edv/os/linux/XLF/html/lr25.htm
 
  


Reply


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


All times are GMT -5. The time now is 06:12 AM.

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