Return-Path: linux-users-error@fnal.gov
Return-Path: <linux-users-error@fnal.gov>
Received: from FNAL.FNAL.Gov (fnal.fnal.gov [131.225.9.8])
by sapphire.fnal.gov (8.8.7/8.8.7) with ESMTP id OAA14873
for <yocum@sapphire.fnal.gov>; Wed, 9 Sep 1998 14:33:57 -0500
Received: from clouds.fnal.gov ("port 21034"@clouds.fnal.gov)
by FNAL.FNAL.GOV (PMDF V5.1-10 #3998) id <01J1LTSGMQ0G000Q3W@FNAL.FNAL.GOV>
(original mail from jm@clouds.fnal.gov) for yocum@sapphire.fnal.gov; Wed,
9 Sep 1998 14:33:55 -0500 CST
Received: from clouds.fnal.gov ("port 21034"@clouds.fnal.gov)
by FNAL.FNAL.GOV (PMDF V5.1-10 #3998)
with ESMTP id <01J1LTSFKCC6000YNZ@FNAL.FNAL.GOV> for
linux-users-expand@reprocess.FNAL.FNAL.GOV; Wed, 09 Sep 1998 14:33:21 -0500
Received: from localhost (jm@localhost) by clouds.fnal.gov (8.8.7/8.8.7)
with SMTP id OAA20293; Wed, 09 Sep 1998 14:34:12 -0500
Date: Wed, 09 Sep 1998 14:34:12 -0500 (CDT)
From: Jeffrey McDonald <jm@clouds.fnal.gov>
Subject: g77 problem
To: linux-users@fnal.gov
Cc: greenc@fnal.gov
Errors-to: linux-users-error@fnal.gov
Reply-to: Jeffrey McDonald <jm@clouds.fnal.gov>
Message-id: <Pine.LNX.3.96.980909142805.20291A-100000@clouds.fnal.gov>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Status: R
Hi,
As an appendix to my last e-mail to linux-users, I neglected to
mention that the problem was my program was crashing on the line:
Read (5,'(I)') N_Sets
(which is why I was interested in documentation about the LUN for standard
in). However, the problem isn't with the LUN, but with the format in the
above statement. At run time, for some reason with integer formats, a
width must be specificed. When I change the statement to:
Read (5,'(I3)') N_Sets
There is no run time error. Kudos to Chris Green for helping
diffuse the situation. BTW, there is not a problem with:
Read (5,'(A)') Channel_List
Jeff
_____________________________________________________
Jeffrey McDonald, Florida State jemcdon@fnal.gov
FNAL MS 352 phone 630-840-3983
Batavia, IL 60510 fax 630-840-8886
------- End of Forwarded Message