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,c7f5c70275787af8 X-Google-Attributes: gid103376,public From: Gautier Subject: Re: Ada vs Delphi? Date: 1999/08/09 Message-ID: <37AE980F.15E6A15C@maths.unine.ch>#1/1 X-Deja-AN: 510530949 Content-Transfer-Encoding: 7bit References: <37ab421a.5414989@news.total.net> <37ab8bd1.0@news.pacifier.com> <37ae1fc8.653954@news.clara.net> Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-08-09T00:00:00+00:00 List-Id: > > Ada is more stronly typed. In Delphi different types may be freely mixed > >in an expression which may lead to suprises (bugs). > I was not aware of this. Delphi is based strongly on > Pascal, which has one of the most securely enforced type > domains I've seen. All types convertions in Delphi occur > through well defined type co-ercion functions -- Theres no > 'casting', which is what can lead to problems... If they have kept compatibility from Turbo Pascal, there is a total casting between byte (unsigned_8), short_integer (integer_8), word (unsigned_16), integer (integer_16), longint (integer_32)... The bugs from unsigned <-> signed are the most vicious. Has this changed in Delphi (read: have they "Adaized" this) ? -- Gautier (when PC/16 bit => Turbo Pascal; when others => Ada ) -------- http://members.xoom.com/gdemont/