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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9d0b383ee17c13af X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: One type for all Date: 1999/07/20 Message-ID: <7n0hmk$ddq$1@nnrp1.deja.com>#1/1 X-Deja-AN: 502914961 References: <3783E0D2.5D74243@boeing.com> <3786741C.E73F1124@hso.link.com> <7mdobd$fu$1@nnrp1.deja.com> <1999Jul12.193436.1@eisner> <7mqueq$k7e$1@nnrp1.deja.com> <7mttci$edv$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x37.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Tue Jul 20 01:00:10 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-07-20T00:00:00+00:00 List-Id: In article , Robert A Duff wrote: > In the case of scalars, the rules are not at all like Ada -- in Pascal, > all integers may be freely intermixed (except in certain special cases > like passing a component of a packed array as a VAR parameter). That > is, there is nothing in Pascal equivalent to Ada's "type T is range > 1..10;". Pascal only has the equivalent of "subtype S is Integer range > 1..10;". No, no, you are answering another question, which is whether Pascal has the same possibilities of defining separate types as in Ada, and of course the answer is no! There is only one integer type in Pascal. But the treatment of subtypes of this one type is as in Ada, I don't see a difference. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.