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 X-Google-Thread: 10261c,cfbb90c56a313e70 X-Google-Attributes: gid10261c,public X-Google-Thread: 103376,cfbb90c56a313e70 X-Google-Attributes: gid103376,public From: Charles Hixson Subject: Re: From extended Pascals to Ada 95 guide Date: 2000/08/25 Message-ID: <39A6ABD9.634308AA@earthlink.net>#1/1 X-Deja-AN: 662439088 References: <8o3s2a$9ph$1@nnrp1.deja.com> <8o4bfq$v0h$1@slb7.atl.mindspring.net> <39A655BE.18E89020@maths.unine.ch> <39A668AB.26F88375@maths.unine.ch> X-Accept-Language: en Content-Type: multipart/mixed; boundary="------------CD523513348AC11873743D9E" X-Complaints-To: abuse@earthlink.net X-Trace: newsread03.prod.itd.earthlink.net 967224275 198.94.156.19 (Fri, 25 Aug 2000 10:24:35 PDT) Organization: EarthLink Inc. -- http://www.EarthLink.net MIME-Version: 1.0 NNTP-Posting-Date: Fri, 25 Aug 2000 10:24:35 PDT Newsgroups: comp.lang.ada,comp.lang.pascal.misc Date: 2000-08-25T00:00:00+00:00 List-Id: This is a multi-part message in MIME format. --------------CD523513348AC11873743D9E Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Marco van de Voort wrote: > ... Then this is a misunderstanding! Maybe you think it > >is a sort of *float � la C ? Not at all: simply you declare variables > >v: vector(1..100) and so on; you can pass them into "+"(v1,v2: vector) functions > >and you have the range with attributes v1'first, v1'last, v1'range,... > >To be even more reassured, use subtypes: "subtype matrix33 is matrix(1..3,1..3);" > >It's that simple: type safety of Pascal, flexibility of C/Fortran! > > Sounds like Delphi style dynamic arrays. > > >As for submarines, you're right. Since C/C++ is said to replace Ada in US embedded > >systems.. glups... I don't know Delphi, but that's a static (as in not changing characteristics at run time) array. There are also various more dynamic forms (e.g., unbounded strings), but that one was static. -- (c) Charles Hixson -- Addition of advertisements or hyperlinks to products specifically prohibited --------------CD523513348AC11873743D9E Content-Type: text/x-vcard; charset=us-ascii; name="charleshixsn.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Charles Hixson Content-Disposition: attachment; filename="charleshixsn.vcf" begin:vcard n:Hixson;Charles x-mozilla-html:FALSE adr:;;;;;; version:2.1 email;internet:charleshixson@earthling.net fn:Charles Hixson end:vcard --------------CD523513348AC11873743D9E--