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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC 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: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Sequential_IO Date: 1999/08/18 Message-ID: <1999Aug18.170028.1@eisner>#1/1 X-Deja-AN: 514517345 X-Nntp-Posting-Host: eisner.decus.org References: <0a0133f8.48529b21@usw-ex0102-014.remarq.com> X-Trace: news.decus.org 935010034 20203 KILGALLEN [216.44.122.34] Organization: LJK Software Reply-To: Kilgallen@eisner.decus.org.nospam Newsgroups: comp.lang.ada Date: 1999-08-18T00:00:00+00:00 List-Id: In article <0a0133f8.48529b21@usw-ex0102-014.remarq.com>, Shawn Barber writes: > 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. I would presume (always a bad thing with the LRM) that the binding of file names to any sort of operating system element such as a disk file is up to the implementor of the Ada system. My hope would be that implementors would do what is natural for whatever operating system (if any) is being used. There are some operating systems under which the behaviour you want would not be logical, so for a better discussion you might want to name your operating system and Ada implementation. Larry Kilgallen