home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / cobol / 698 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.3 KB  |  28 lines

  1. Newsgroups: alt.cobol
  2. Path: sparky!uunet!sequent!gaia.ucs.orst.edu!flop.ENGR.ORST.EDU!reed!batcomputer!rpi!zaphod.mps.ohio-state.edu!howland.reston.ans.net!spool.mu.edu!sgiblab!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
  3. From: fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON)
  4. Subject: Re: cobol
  5. Message-ID: <9302702.19795@mulga.cs.mu.OZ.AU>
  6. Sender: news@cs.mu.OZ.AU
  7. Organization: Computer Science, University of Melbourne, Australia
  8. References: <1993Jan13.4605.763@dosgate> <1jm43fINN8rv@mirror.digex.com> <1993Jan21.133510.4271@mfltd.co.uk> <9302421.22722@mulga.cs.mu.OZ.AU> <1993Jan25.120413.24471@mfltd.co.uk>
  9. Date: Tue, 26 Jan 1993 15:21:31 GMT
  10. Lines: 16
  11.  
  12. jfid@mfltd.co.uk (James Fidell (x5320)) writes:
  13.  
  14. >Pointers are another area
  15. >where C benefits greatly -- I really wouldn't want to try to implement a
  16. >parse tree in COBOL.
  17.  
  18. Well now that you mention it I *have* done that :-), though only for a
  19. quite simple grammar.
  20. You can use array indices instead of pointers without *too* much difficulty.
  21. The real gripe I have is with the lack of dynamic allocation.
  22.  
  23. -- 
  24. Fergus Henderson             fjh@munta.cs.mu.OZ.AU      
  25. This .signature virus is a self-referential statement that is true - but 
  26. you will only be able to consistently believe it if you copy it to your own
  27. .signature file!
  28.