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 X-Google-Thread: 103376,9fa5063fbdc75ae4,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-14 13:56:35 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp.infostrada.it!area.cu.mi.it!scotty.uli.it!phobos.ibnetwork.net!seanews2.seabone.net!garse!news.iddeo.es!not-for-mail From: =?iso-8859-1?q?Antonio_Mart=EDnez?= Newsgroups: comp.lang.ada Subject: array of strings in a function Date: Tue, 14 Oct 2003 22:54:54 +0200 Organization: Iddeo - Retevisi�n Message-ID: NNTP-Posting-Host: 62.83.189.16 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity. (Debian GNU/Linux)) Xref: archiver1.google.com comp.lang.ada:860 Date: 2003-10-14T22:54:54+02:00 List-Id: Hello. I'm trying to pass to a function an argument. The argument is an array range <> of Strings (unbounded array). For example: my_fun("Hello", ", I'm", " the function"); number of string literals is unknown by the function. And the length of every string is unknown as well. It works if I choose a fixed length of the string, and every string is exactly the length I have forced. So, if I fixed 4, it works for me: my_fun("only", "four", "lette", "rs ", "are ", "allo", "ed "); How do I work with unbound strings? I want something like this: type Miarray is array (Positive range <>) of string; but it doen't compile !!! Thank you. -- Antonio Mart�nez,