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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,57516221cb3ae9f3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-13 05:31:15 PST Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!EU.net!julienas!news2.fnet.fr!edf3.edf.fr!edfder3!pascalo From: pascalo@cln46ac.fr (Pascal OBRY) Newsgroups: comp.lang.ada Subject: Re: string literals Followup-To: comp.lang.ada Date: 13 Jan 1995 13:31:15 GMT Organization: A poorly-installed InterNetNews site Message-ID: References: NNTP-Posting-Host: cln46ac.der.edf.fr In-reply-to: cary@svl.trw.com's message of 12 Jan 1995 02:07:49 GMT Date: 1995-01-13T13:31:15+00:00 List-Id: Cary Jamison wrote : >but I can't find a way to do anything like > > My_String : Pkg1.Big_String(1..5) := Pkg1."Hello"; > >other than (Pkg1.'H', Pkg1.'e', ...) Well with Ada9x you can use a single type without do a use of the full package. see use type (RM 8.4) You should be able to write : use type Pkg1.Big_Char; My_String : Pkg1.Big_String(1..5) := "Hello"; I think this address your problem. Pascal. -- --|--------------------------------------------------------------- --| Pascal OBRY e-mail: pascal.obry@der.edf.fr | --| EDF-DER-IPN-SID-ISI | --| Bureau G1-010 voice: +33-1-47.65.50.91 | --| 1 Av General de Gaulle | --| 92141 Clamart CEDEX | --| FRANCE | --|---------------------------------------------------------------