home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / pascal / 6634 < prev    next >
Encoding:
Text File  |  1992-11-16  |  1.9 KB  |  50 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!mcsun!news.funet.fi!network.jyu.fi!sakkinen
  3. From: sakkinen@jyu.fi (Markku Sakkinen)
  4. Subject: Re: Comparing record types
  5. Message-ID: <1992Nov16.143525.20899@jyu.fi>
  6. Organization: University of Jyvaskyla, Finland
  7. References: <1992Nov13.115158.18062@jyu.fi> <1e6s51INNp16@matt.ksu.ksu.edu> <Bxt8BL.LBx@cs.vu.nl>
  8. Date: Mon, 16 Nov 1992 14:35:25 GMT
  9. Lines: 39
  10.  
  11. In article <Bxt8BL.LBx@cs.vu.nl> sbakker@cs.vu.nl (Bakker S) writes:
  12. >holland@matt.ksu.ksu.edu (Rich Holland) writes:
  13. >
  14. >>sakkinen@jyu.fi (Markku Sakkinen) writes:
  15. >
  16. >>>>That's right. '=' only applies to atomic types (scalar, floating point, 
  17. >>>>string, set).
  18. >
  19. >>>I wouldn't call sets and strings 'atomic', but that's nit-picking.
  20. >
  21. >>Okay, someone wanna clue me in here?  What's an "atomic" type?  I'd only
  22. >>heard of ordinal and scalar until now...
  23. >
  24. >Right, sorry. It's vague. I should've said `certain types'. 
  25.  
  26. 'Atomic' is not a term that abounds in Pascal literature,
  27. but more generally it means that each value of the type is
  28. 'indivisible' or 'non-composite', i.e. does not consist of
  29. meaningful parts.
  30. Thus, among the constructed types of Pascal, enumerations and
  31. pointers are atomic, while arrays, records, files, and sets are not.
  32. (Strings are a special case of arrays.)
  33.  
  34. >Anyway, isn't it time for a real Pascal++, pardon me, Inc(Pascal) ?
  35.  
  36. How about Trellis/Owl (TM) and Eiffel (TM) ?
  37. Certainly, neither of them is
  38.   record base: Pascal; enhancement: classes end
  39. but they are rather Pascal-like (or Ada-like) in spirit and syntax.
  40.  
  41. ----------------------------------------------------------------------
  42. Markku Sakkinen (sakkinen@jytko.jyu.fi)
  43.        SAKKINEN@FINJYU.bitnet (alternative network address)
  44. Department of Computer Science and Information Systems
  45. University of Jyvaskyla (a's with umlauts)
  46. PL 35
  47. SF-40351 Jyvaskyla (umlauts again)
  48. Finland
  49. ----------------------------------------------------------------------
  50.