comp.lang.ada
 help / color / mirror / Atom feed
From: mab@dst17.wdl.loral.com (Mark A Biggar)
Subject: Re: Interfacing Ada to Unix/execl var. arg. list function?
Date: Thu, 13 Oct 1994 17:37:30 GMT
Date: 1994-10-13T17:37:30+00:00	[thread overview]
Message-ID: <1994Oct13.173730.19804@wdl.loral.com> (raw)
In-Reply-To: 37j8pd$ovu@gnat.cs.nyu.edu

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





  reply	other threads:[~1994-10-13 17:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-13  7:44 Interfacing Ada to Unix/execl var. arg. list function? Dale Stanbrough
1994-10-13  9:21 ` David Emery
1994-10-13 12:22 ` Robert Dewar
1994-10-13 17:37   ` Mark A Biggar [this message]
1994-10-13 18:46     ` Robert Dewar
1994-10-14 13:55   ` Norman H. Cohen
1994-10-13 13:31 ` Nicolas Courtel
1994-10-13 19:28 ` Tucker Taft
1994-10-14 13:55 ` Interfacing Ada to Unix/execl var ncohen
1994-10-17 18:18 ` Interfacing Ada to Unix/execl var. arg. li Bob Gilbert
1994-10-19  3:30   ` Interfacing Ada to Unix/execl var. arg. list function? Dale Stanbrough
1994-10-20 12:42     ` Interfacing Ada to Unix/execl var. arg Bob Gilbert
1994-10-20  4:18   ` Interfacing Ada to Unix/execl var. arg. li S M Ryan
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox