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.6 required=5.0 tests=BAYES_20,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,7b7c6b457397ec4,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-22 11:25:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: "Dominic D'Apice" Newsgroups: comp.lang.ada Subject: how to validate if a file exist ? Date: Sun, 22 Sep 2002 14:25:09 -0400 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: avanie.enst.fr 1032719103 16826 137.194.161.2 (22 Sep 2002 18:25:03 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 22 Sep 2002 18:25:03 +0000 (UTC) Return-Path: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:29260 Date: 2002-09-22T14:25:09-04:00 Hi all,=20 I know that i can validate if a file don=92t exist with this=A0: --------------------------------------------------- exception when ada.text_io.name_error =3D>=20 ada.text_io.put("file not found"); ada.text_io.skip_line; --------------------------------------------------- BUT, HOW CAN I VALIDATE IF A FILE EXIST ?=20 (I did not found any exception about this way=85) thank to reply Dominic