home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!mcsun!news.funet.fi!network.jyu.fi!sakkinen
- From: sakkinen@jyu.fi (Markku Sakkinen)
- Subject: Re: Comparing record types
- Message-ID: <1992Nov16.143525.20899@jyu.fi>
- Organization: University of Jyvaskyla, Finland
- References: <1992Nov13.115158.18062@jyu.fi> <1e6s51INNp16@matt.ksu.ksu.edu> <Bxt8BL.LBx@cs.vu.nl>
- Date: Mon, 16 Nov 1992 14:35:25 GMT
- Lines: 39
-
- In article <Bxt8BL.LBx@cs.vu.nl> sbakker@cs.vu.nl (Bakker S) writes:
- >holland@matt.ksu.ksu.edu (Rich Holland) writes:
- >
- >>sakkinen@jyu.fi (Markku Sakkinen) writes:
- >
- >>>>That's right. '=' only applies to atomic types (scalar, floating point,
- >>>>string, set).
- >
- >>>I wouldn't call sets and strings 'atomic', but that's nit-picking.
- >
- >>Okay, someone wanna clue me in here? What's an "atomic" type? I'd only
- >>heard of ordinal and scalar until now...
- >
- >Right, sorry. It's vague. I should've said `certain types'.
-
- 'Atomic' is not a term that abounds in Pascal literature,
- but more generally it means that each value of the type is
- 'indivisible' or 'non-composite', i.e. does not consist of
- meaningful parts.
- Thus, among the constructed types of Pascal, enumerations and
- pointers are atomic, while arrays, records, files, and sets are not.
- (Strings are a special case of arrays.)
-
- >Anyway, isn't it time for a real Pascal++, pardon me, Inc(Pascal) ?
-
- How about Trellis/Owl (TM) and Eiffel (TM) ?
- Certainly, neither of them is
- record base: Pascal; enhancement: classes end
- but they are rather Pascal-like (or Ada-like) in spirit and syntax.
-
- ----------------------------------------------------------------------
- Markku Sakkinen (sakkinen@jytko.jyu.fi)
- SAKKINEN@FINJYU.bitnet (alternative network address)
- Department of Computer Science and Information Systems
- University of Jyvaskyla (a's with umlauts)
- PL 35
- SF-40351 Jyvaskyla (umlauts again)
- Finland
- ----------------------------------------------------------------------
-