home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!aurora.cc.monash.edu.au!ins894r
- From: ins894r@aurora.cc.monash.edu.au (Aaron Wigley [Wigs])
- Subject: Re: Is this legal - why/why not?
- Message-ID: <1992Jul29.072408.23090@monu6.cc.monash.edu.au>
- Sender: news@monu6.cc.monash.edu.au (Usenet system)
- Organization: Monash University
- X-Newsreader: Tin 1.1 PL4
- References: <l7b682INNasf@muleshoe.cs.utexas.edu>
- Date: Wed, 29 Jul 1992 07:24:08 GMT
- Lines: 22
-
- sirosh@cs.utexas.edu (Joseph Sirosh) writes:
- : I have two questions.
- :
- : 1. The following declaration for an enumerated type is legal.
- : Type Used = (Integer, Char, Boolean);
- :
- : even though Integer, Char, Boolean etc. are names of predefined types.
- : This works on Think Pascal on the Mac.
-
- In pascal it is possible to redefine types:
- Eg,
-
- Type
- real = extended;
-
- What it seems you are doing is redefing the types Integer, Char, Boolean,
- and I would expect big problems..
-
- : Joseph
-
- Aaron Wigley
- ins894r@aurora.cc.monash.edu.au
-