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.2 required=5.0 tests=BAYES_00,FROM_WORDY, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f868292008c639ce X-Google-Attributes: gid103376,public From: "Ken Garlington" Subject: Re: C vs. Ada - strings Date: 2000/06/03 Message-ID: <4hc_4.2223$Md1.63965@news.flash.net>#1/1 X-Deja-AN: 630664368 References: <390F0D93.F835FAD9@ftw.rsc.raytheon.com> <8en5o9$ihe$1@nnrp1.deja.com> <8eonos$e70$1@wanadoo.fr> <1fIU4.4668$Rx3.250161@typhoon.nyroc.rr.com> <3924B730.AFB52C1C@acenet.com.au> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: abuse@flash.net X-Trace: news.flash.net 960057536 216.215.70.75 (Sat, 03 Jun 2000 13:38:56 CDT) Organization: FlashNet Communications, http://www.flash.net X-MSMail-Priority: Normal NNTP-Posting-Date: Sat, 03 Jun 2000 13:38:56 CDT Newsgroups: comp.lang.ada Date: 2000-06-03T00:00:00+00:00 List-Id: "Pete" wrote in message news:GW8_4.8869$kf5.45098@typhoon.nyroc.rr.com... > I see your point. But suppose in Java, I have > Srting ar[] = new String[] { "have", "a", "good", "day" }; > // assume some processing. > ar[2] = "junk"; > > I think the Ada way to do this would be much more complicated. I may be > wrong, can this be done so simply in Ada *without having to create new > types, or making function calls*? If so, I am interested in seeing how to do > this. Does "new" count as a function call?