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.3 required=5.0 tests=BAYES_00,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: Gautier Subject: Re: C vs. Ada - strings Date: 2000/05/04 Message-ID: <39116E2C.8975C251@maths.unine.ch>#1/1 X-Deja-AN: 619118282 Content-Transfer-Encoding: 7bit References: <390F0D93.F835FAD9@ftw.rsc.raytheon.com> <8en5o9$ihe$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 4 May 2000 14:33:50 +0100, mac13-32.unine.ch Organization: Maths - Uni =?iso-8859-1?Q?Neuch=E2tel?= MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-05-04T00:00:00+00:00 List-Id: Ole-Hjalmar Kristensen: > Yes, but the C standard library *is* there. The Ada 95 string packages > aren't there in Ada 83. NB: the operators for type String are in Ada 83 also in Standard package (no need of "with/use") In Ada 83 you can write things like get_line( s, l ); s1(1..n):= s2 & '-' & s3(1..5); return "Result " & integer'image( n ); declare img_tag: constant string:= ""; or use s( a..b ) as a variable (to pass as out parameter) and so on... That's not nothing... _____________________________________________ Gautier -- http://members.xoom.com/gdemont/