comp.lang.ada
 help / color / mirror / Atom feed
* File_Exists doesn't exist?
@ 1996-06-20  0:00 David Weller
  1996-06-20  0:00 ` JimGregg
  0 siblings, 1 reply; 2+ messages in thread
From: David Weller @ 1996-06-20  0:00 UTC (permalink / raw)



Nothing like adding in functionality that isn't standard....one of our
junior engineers asked how to check for the existence of a file
without creating a block and catching a Name_Error exception after
calling open.  I looked at him like he was from outer space and told
him that was what the File_Exists operation was for.  Unfortunately,
there was no such critter (but an example in 11.4.2 shows such a call
(I know, just because it's there doesn't mean it's part of the
language, it could be used as an example)).

I know I can look to using Forest or some other similar library, but
can somebody clue me in to the history of this, I thought we had that
added for Ada 95.

-- 
    Visit the Ada 95 Booch Components Homepage: www.ocsystems.com/booch
           This is not your father's Ada -- lglwww.epfl.ch/Ada




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: File_Exists doesn't exist?
  1996-06-20  0:00 File_Exists doesn't exist? David Weller
@ 1996-06-20  0:00 ` JimGregg
  0 siblings, 0 replies; 2+ messages in thread
From: JimGregg @ 1996-06-20  0:00 UTC (permalink / raw)



>I know I can look to using Forest or some other similar library, but
>can somebody clue me in to the history of this, I thought we had that
>added for Ada 95.

I use POSIX_FILES.IS_FILE_PRESENT().

Jim Gregg
Software Compositions




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-06-20  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-20  0:00 File_Exists doesn't exist? David Weller
1996-06-20  0:00 ` JimGregg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox