home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!caen!mtu.edu!mtu.edu!fmconway
- From: fmconway@mtu.edu (F. Michael Conway)
- Subject: line defaults
- Message-ID: <1992Dec11.205319.22063@mtu.edu>
- Sender: news@mtu.edu
- Nntp-Posting-Host: geolab1.geo.mtu.edu
- Organization: Michigan Technological University
- Date: Fri, 11 Dec 1992 20:53:19 GMT
- Lines: 30
-
- Keywords:f77, line defaults, sun
-
- I'm having trouble dealing with output from a fortran (f77) program and I hope
- someone in this group can give me some advice.
-
- I'm working with f77 compiler on a SUN system and apparently the default is 80(?)
- characters/line. I would like to increase this to several hundred
- characters/line. This is necessary in order to enter the data, in a usuable
- fashion into LOTUS.
-
- Here are the write and format statements.
-
- Write (2,42) char(09), char(09), (elem(i), char(09)
- 42 format(A,A,46(a,a))
-
- and
-
- Write (2,839) Petfr, char(09), temp, char(09), (G(1,I), char(09),i=nt)
- format (f7.2,a,f7.2,a,70(f7.2,a))
-
- The programs runs fine and it produces good output. But importing it into LOTUS
- becomes meaningless because it starts a new line every 80 characters and not at the
- end of each write statement.
-
- I would greatly appreciate any advice on how to correct this problem.
-
- Thanks,
-
- Mike Conway
-
-