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.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5fd7ba1ccaa4bae,start X-Google-Attributes: gid103376,public From: mazzanti@iei.pi.cnr.it (Franco Mazzanti) Subject: Abnormal file objects Date: 1996/12/13 Message-ID: #1/1 X-Deja-AN: 203925901 organization: IEI-CNR newsgroups: comp.lang.ada Date: 1996-12-13T00:00:00+00:00 List-Id: Let us consider the following program fragment: ... select delay 5.0; Put_Line ("Timeout expired"); then abort -- ask for password within the given timeout Put("Enter Password:"); Get_Line(This_Password,Last); end select; If the timeout expires, maybe when Get_line was reading the data, can the underlying "file-object" become abnormal because some assignment to it has been disrupted (as for 9.8.(21)) ? Notice that a very similar example is given in Reference Manual (in 9.7(11)) and it would be unfortunate il the RM examples sugggested potentially erroneous programming styles. Franco Mazzanti