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,130283ad9c6c2e69 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-10-14 12:39:12 PST Newsgroups: comp.lang.ada Path: bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!sgiblab!sgigate.sgi.com!enews.sgi.com!wdl1!dst17!mab From: mab@dst17.wdl.loral.com (Mark A Biggar) Subject: Re: Interfacing Ada to Unix/execl var. arg. list function? Message-ID: <1994Oct13.173730.19804@wdl.loral.com> Sender: news@wdl.loral.com Organization: Loral Western Development Labs References: <37ioh5$h9v@goanna.cs.rmit.oz.au> <37j8pd$ovu@gnat.cs.nyu.edu> Date: Thu, 13 Oct 1994 17:37:30 GMT Date: 1994-10-13T17:37:30+00:00 List-Id: In article <37j8pd$ovu@gnat.cs.nyu.edu> dewar@cs.nyu.edu (Robert Dewar) writes: >#2 won't work because attributes can only be applied to names (i.e. it is >For problem #2, it is indeed a glitch that to declare a null array >constant you have to provide a junk initialization value for all the >values, except of course there AREN'T any values, so that's a bit >annoying. Of course again you don't need a separate junk variable: > > null_arg_list : constant string_array := (1..0 => new string'("")); > >will do fine. Why even go that far? Why not: null_arg_list : constant string_array := (1..0 => null); -- Mark Biggar mab@wdl.loral.com