comp.lang.ada
 help / color / mirror / Atom feed
From: terminus.umd.edu!brad@umd5.umd.edu  (Brad Balfour)
Subject: Re: Help with Exceptions for Generic Instantiation
Date: 16 Dec 91 21:17:40 GMT	[thread overview]
Message-ID: <brad.692918260@terminus.umd.edu> (raw)

whoops. I forgot the package prefix in two places in the body of Echo.
The code should read:

  BEGIN
    A_Stream.Open(S, TTY.Prompt(Message));
    BEGIN
      LOOP
        A_Stream.Get(C, S);
        TTY.Announce(C);
      END LOOP;
    EXCEPTION
      WHEN A_Stream.No_More_Data_Error =>  -- now the exception name is visible
        A_Stream.Close(S);
    END;
    TTY.Announce(SU.CR);
  END Echo;

----
Brad Balfour
EVB Software Engineering, Inc.
brad@terminus.umd.edu

             reply	other threads:[~1991-12-16 21:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-12-16 21:17 Brad Balfour [this message]
  -- strict thread matches above, loose matches on Subject: below --
1991-12-16 14:28 Help with Exceptions for Generic Instantiation Brad Balfour
1991-12-13 20:10 Arthur Evans
1991-12-13 17:27 Richard Pattis
replies disabled

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