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 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-15 05:01:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!irazu.switch.ch!switch.ch!news.rediris.es!News.cica.es!""!not-for-mail From: =?ISO-8859-15?Q?Antonio_Mart=EDnez_=C1lvarez?= Newsgroups: comp.lang.ada Subject: Re: array of strings in a function Date: Wed, 15 Oct 2003 13:49:42 +0200 Organization: C.I.C.A. Message-ID: References: NNTP-Posting-Host: corti2.ugr.es Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Trace: mercurio.cica.es 1066218545 26075 150.214.103.167 (15 Oct 2003 11:49:05 GMT) X-Complaints-To: abuse@cica.es NNTP-Posting-Date: 15 Oct 2003 11:49:05 GMT User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: es-es, en-us, en In-Reply-To: Xref: archiver1.google.com comp.lang.ada:887 Date: 2003-10-15T11:49:05+00:00 List-Id: Hello again. I'm the original poster. What I want to do is a procedure (sorry, not a function) to do something like this: my_AND("Entrada_1", "P2", "Output"); and with this argument, this function have to write this: entity my_AND is port( Entrada_1 : in std_logic; P2 : in std_logic; Output : out std:logic; ); (This is VHDL code, very similar to Ada95). In general, I don't know the number of string arguments. An these strings can be any length. I have tried to do this with unbounded... but without any nice results ... Maybe I must use access variables, like in C. I know how to do this in C, but I'm really interested in do this job into Ada95. I'm writting a generator of VHDL (parsing, etc ...). I'll send the answer when it works. But till this moment, and havig read your posts I haven't found the answer. Thank you so much. -- Antonio Mart�nez