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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8a3c8cd30209f45b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-02 10:15:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!freenix!wanadoo.fr!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: List of strings as an argument of a RCI function? Date: 02 May 2002 19:15:55 +0200 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: <3CD141D6.C6E6D8D@labe.felk.cvut.cz> NNTP-Posting-Host: avelizy-103-1-3-167.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: wanadoo.fr 1020359757 14236 217.128.47.167 (2 May 2002 17:15:57 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 2 May 2002 17:15:57 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:23432 Date: 2002-05-02T17:15:57+00:00 List-Id: Tomas Hlavaty writes: > I'm trying to define a RCI function with an output argument of my type > List_Of_Strings. But, there is a problem with the unit categorization, > because all useful string packages (as Ada.Strings.Unbounded) has no > categorization. Could anybody suggest me a solution? Should I define my > own string type? Yes use an access to string type. Then you'll have to provide you're own read/write rountine to serialize the list and rebuild it at the other side. I could dig out a simple distributed list of strings implementation if you want. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| --| "The best way to travel is by means of imagination"