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,293738e64f79b8a5 X-Google-Attributes: gid103376,public From: Stephen Leake Subject: Re: How do I use the package characters? Date: 1996/10/08 Message-ID: <325A6015.1179@gsfc.nasa.gov>#1/1 X-Deja-AN: 188021615 references: content-type: text/plain; charset=us-ascii organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA mime-version: 1.0 reply-to: Stephen.Leake@gsfc.nasa.gov newsgroups: comp.lang.ada x-mailer: Mozilla 3.0 (Win95; U) Date: 1996-10-08T00:00:00+00:00 List-Id: Stephen M O'Shaughnessy wrote: > > I would like to use the functions in the package characters. > handling described in paragraph A.3.2 of the ARM. How do I > instantiate/reference these functions? > > Thanks > > Steve O You need the full name of the package: with Ada.Characters.Handling; procedure Foo is A : CHARACTER; begin ... other code that sets A if Ada.Characters.Handling.Is_Control (A) then ... end if; end Foo; or you can use the `use' clause: with Ada.Characters.Handling; use Ada.Characters.Handling; procedure Foo is A : CHARACTER; begin ... other code that sets A if Is_Control (A) then ... end if; end Foo; Happy coding! -- - Stephe