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,ae9506fd4dcf7090 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-22 08:01:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!not-for-mail From: Fraser Wilson Newsgroups: comp.lang.ada Subject: Re: Concatenation and Characters Date: 22 Oct 2002 17:02:37 +0200 Organization: XS4ALL Internet BV Sender: fwilson@FWILSON Message-ID: References: <44hp9.807$_u6.205@nwrddc01.gnilink.net> <3DA5AE5F.3030902@attbi.com> <3DB03EF1.EE771923@mmm.com> <3DB43EB0.AAF4B38C@mmm.com> <3DB44B9C.80007@worldnet.att.net> <3DB466CB.7CE0BC59@mmm.com> <3DB4C9C4.1070003@worldnet.att.net> NNTP-Posting-Host: a80-126-24-12.adsl.xs4all.nl X-Trace: news1.xs4all.nl 1035298890 2805 80.126.24.12 (22 Oct 2002 15:01:30 GMT) X-Complaints-To: abuse@xs4all.nl NNTP-Posting-Date: 22 Oct 2002 15:01:30 GMT X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:30034 Date: 2002-10-22T15:01:30+00:00 List-Id: Robert A Duff writes: > True. In fact, what would you like as the default initial value of > this: > > X: Integer range 1..0; And speaking of, I've occasionally had the need to return a zero length array from a function, but there doesn't seem to be a literal for this case. So my code looks like this: type Array_Type is array (Positive range <>) of ... ; .... declare Empty : constant Array_Type (1 .. 0); begin return Empty; end; Is this the only way? I feel dense. Fraser.