home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / object / 2992 < prev    next >
Encoding:
Text File  |  1992-07-24  |  1.3 KB  |  37 lines

  1. Newsgroups: comp.object
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!ah739
  3. From: ah739@cleveland.Freenet.Edu (Leslie J. Somos)
  4. Subject: Re: OO Cobol (?!)
  5. Message-ID: <1992Jul24.145155.12119@usenet.ins.cwru.edu>
  6. Sender: news@usenet.ins.cwru.edu
  7. Nntp-Posting-Host: cwns1.ins.cwru.edu
  8. Reply-To: ah739@cleveland.Freenet.Edu (Leslie J. Somos)
  9. Organization: Case Western Reserve University, Cleveland, OH (USA)
  10. References: <13772@borg.cs.unc.edu> <9207131609.AA01062@ucbvax.Berkeley.EDU>
  11. Date: Fri, 24 Jul 92 14:51:55 GMT
  12. Lines:       24
  13.  
  14.  
  15. In a previous article, navon@cs.unc.edu (Jaime Navon) says:
  16.  
  17. >>   Hi,
  18. >>    Does anybody know if any OO Cobol product has been released yet?
  19. >>  Has it been reviewed somewhere in trade publications?
  20. >>  I am also looking for suggestions/comments on how to influence
  21. >>  COBOL programmers to embrace OO programming.
  22. >
  23. >
  24. >
  25. >As OO C is called C++, the OO Cobol should be called "add 1 to Cobol" :-)
  26. >
  27. >
  28.  
  29. Actually,  the ++ operator means to add to the variable, whatever is the
  30. natural size for it.  That is, for a character variable, it adds 1.  For
  31. pointers, which take up 4 bytes, it adds 4.  
  32. Some people might say  "add _0_ to COBOL".
  33. Others will substitute a different value for the natural size of 'COBOL'.
  34.  
  35. --
  36. Leslie J. Somos     ah739@Cleveland.Freenet.Edu
  37.