home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / pascal / 6716 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.7 KB

  1. Path: sparky!uunet!news.univie.ac.at!chx400!sicsun!iamace9.epfl.ch!guglielmetti
  2. From: guglielmetti@elia.epfl.ch (Philippe Guglielmetti)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Comparing record types
  5. Message-ID: <4335@sicsun.epfl.ch>
  6. Date: 19 Nov 92 09:24:28 GMT
  7. References: <1992Nov13.115158.18062@jyu.fi> <Bxt7yK.L2H@cs.vu.nl> <Bxt8BL.LBx@cs.vu.nl> <1992Nov17.230223.2113@trl.oz.au>
  8. Sender: news@sicsun.epfl.ch
  9. Organization: IA-DME-EPFL
  10. Lines: 19
  11. X-UserAgent: Nuntius v1.1.1d11
  12. X-XXMessage-ID: <A7311D0D73017B20@iamace9.epfl.ch>
  13. X-XXDate: Thu, 19 Nov 92 10:29:33 GMT
  14.  
  15. Now it's time to consider RECORD's as a special case of OBJECT's. Use
  16. this concept and you can add comparison (not only equality) as a method
  17. in your objects.
  18. OBJECT's are now included in most Pascal Compilers and it's a logical
  19. evolution for those of us who have been putting pointers to procedures in
  20. their RECORD's from a long time... We actually have "Pascal++". Use it !
  21. Sometimes I dream about operators beeing added to Pascal langage (or at
  22. least some compilers) but then I recall my experiments with C++ and I
  23. realize my dream is turning into a nightmare...
  24.  
  25. Goulu
  26.               _#      **MMp     g#00   `N##0"    _agN#0P0N#           _#L
  27.              g##       jN##    j##F     J##    _dN0"      "          g##L
  28.            _#]##      _0 ##L  jN##F     ###   g#0"                 _03##L
  29.           gE_j##      #  0## jF ##F    j##F  j##     ______       gE_j##L
  30.         _0"""N##     d"  J##L0  ##F    0##   0##     "9##F"     _0"""5##L
  31.       _gF    ]##    jF    ##0   ##F    ##F   `##k     d##     _gF    j##L
  32.     _g#_    _j##L__g#__   ]N  _j##L_ _d##L_   `#Nh___g#N'   _g#_    _j##L_
  33.    `""""    """""'""""'    "  """""" """"""      """""""   `""""    """"""
  34.