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=BAD_ENC_HEADER,BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,4e2dfdc3b0f2775d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-22 07:19:53 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!news.ipartners.pl!news.internetia.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail From: =?ISO-8859-2?q?=22Micha=B3= Nowikowski" Newsgroups: comp.lang.ada Subject: Re: Stream_Element_Array and an empty array Date: Wed, 22 Aug 2001 16:19:53 +0200 Organization: tp.internet - http://www.tpi.pl Message-ID: References: NNTP-Posting-Host: zamek.gda.pl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-Trace: news.tpi.pl 998489993 21136 195.117.150.242 (22 Aug 2001 14:19:53 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: 22 Aug 2001 14:19:53 GMT X-Comment-To: "Reivilo Snuved" User-Agent: Pan/0.10.0 (Unix) Xref: archiver1.google.com comp.lang.ada:12229 Date: 2001-08-22T14:19:53+00:00 List-Id: W artykule , "Reivilo Snuved" napisa�(a): > Samuel Tardieu writes: > >> A : Ada.Streams.Stream_Element_Array (0 .. -1); >> >> A'Length being defined as A'Last - A'First + 1, you will get a zero >> length. ok, but it is variable A array which length is 0; i want to substitute a value; when you have array A with length=5, you do: A := (1, 2, 3, 4, 5); what to do when A's length is 0 A := (); -- doesnt work -- | Michal Nowikowski | Registered Linux User #165183 | http://www.glc.zamek.gda.pl/