From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,aeb3845dd355cf6c X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Sequential_IO Date: 1999/08/18 Message-ID: <7pf57n$h65$1@nnrp1.deja.com>#1/1 X-Deja-AN: 514311885 References: <0a0133f8.48529b21@usw-ex0102-014.remarq.com> X-Http-Proxy: 1.0 x36.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Wed Aug 18 20:31:51 1999 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-08-18T00:00:00+00:00 List-Id: In article <0a0133f8.48529b21@usw-ex0102-014.remarq.com>, Shawn Barber wrote: > I am using Sequential_IO to read some data from a file. Why > do I need to specify the full path of the file being read > when I'm running the program from the directory in which the > file resides? I'm getting the filename from the command line > and in I continually get a Name_Error unless I specify the > path as well. Any ideas? I didn't see anything in the LRM, > but that doesn't mean it's not there. Thanks. If you don't see anything in the LRM about it, that usaually means its compiler/OS dependent. In this case it certianly is. So your question is completely meaningless w/o knowing your compiler and OS and exactly what you do to run the program. If I had to take a wild stab at it, I'd say you are using a compiler with an IDE (eg: ObjectAda for Windows) and you aren't really running your program from where you think you are running it. -- T.E.D. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.