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,FREEMAIL_FROM,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ae9506fd4dcf7090,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-10 07:50:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc01.gnilink.net.POSTED!53ab2750!not-for-mail From: "Justin Birtwell" Newsgroups: comp.lang.ada Subject: Concatenation and Characters X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Thu, 10 Oct 2002 14:50:06 GMT NNTP-Posting-Host: 151.202.46.147 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc01.gnilink.net 1034261406 151.202.46.147 (Thu, 10 Oct 2002 10:50:06 EDT) NNTP-Posting-Date: Thu, 10 Oct 2002 10:50:06 EDT Xref: archiver1.google.com comp.lang.ada:29664 Date: 2002-10-10T14:50:06+00:00 List-Id: Hi, Another Newbie question. I"m having trouble understanding concatenation in Ada with its unbounded strings, and the difference between Character arrays and String arrays. If I concatenate two Bounded Strings S:String(1..4):="ABCD"; T:String(1..2):="EF"; U:String(1..N); Begin U(1..6):=S&T; --Constraint Error!! Why? or... U:=S&T; ---Constraint Error! Why? Put(U); end; Also If I have an array of Characters Chars:array range(1..3) of Characters:=('a','b','c'); How can I convert it to a string? Put(Chars) --Compile Error:Invalid param list! I look forward to getting answers to these pesky problems. Thanks as always, Justin