home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / rexx / 764 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.8 KB  |  46 lines

  1. Newsgroups: comp.lang.rexx
  2. Path: sparky!uunet!wrkgrp!ets
  3. From: ets@wrkgrp.COM (Edward T Spire)
  4. Subject: Re: PARSE wishlist/brainstorming
  5. Message-ID: <1992Aug21.153953.796@wrkgrp.COM>
  6. Organization: The Workstation Group
  7. References: <ANDERS.92Aug21003253@lise4.lise.unit.no>
  8. Date: Fri, 21 Aug 92 15:39:53 GMT
  9. Lines: 35
  10.  
  11. anders@lise4.lise.unit.no (Anders Christensen) writes:
  12. : In article <1992Aug20.154822.8057@hou.amoco.com> zjlc12@hou.amoco.com (Jerry Campbell) writes:
  13. : > Why not add the STEM keyword to the Parse instruction?  
  14. : >    Parse Var data STEM  "hello" 1 stem. +3
  15. :...
  16. : Btw also files and stems could be used in the same way, instead of the
  17. : stack: 
  18. :    ADDRESS 'uni-shell' 'ls -l' TO STEM lines.
  19. :    do i=1 to lines.0
  20. :       parse var lines.i perm.i . user.i size.i . . . filename.i .
  21. :       end
  22. :...
  23. : If what you want to do, is to put the output of 'ls' into a stem named
  24. : "record.", why not the following syntax?
  25. :    ADDRESS 'uni-shell' 'ls' TO STEM records.
  26.  
  27. At the last ANSI discussion the "users" all liked these kinds of
  28. suggestions, i.e., making formal within the language definition the
  29. kind of numerically based stem collections that are commonly used
  30. in many programming applications.  The "implementers" in the group
  31. were not so sure that we could jump right into that without due
  32. consideration of the side effects.
  33.  
  34. I would not be a good person to discuss the possible side effects
  35. (I was on the side of the "users" in this...)
  36.  
  37. Do we have a volunteer to present the counter-arguements?
  38.  
  39. ========================================================================
  40.  
  41. Ed Spire                           email: ets@wrkgrp.com      (on uunet)
  42. The Workstation Group              voice: 800-228-0255
  43. 6300 River Road, Suite 700            or  708-696-4800
  44. Rosemont, Illinois  60018            fax: 708-696-2277
  45.