home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / rexx / 885 < prev    next >
Encoding:
Text File  |  1992-09-04  |  1.1 KB  |  31 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: <1992Sep4.153924.2257@wrkgrp.COM>
  6. Organization: The Workstation Group
  7. References: <9209030850.AA04682@SERVER.uwindsor.ca>
  8. Date: Fri, 4 Sep 92 15:39:24 GMT
  9. Lines: 20
  10.  
  11. ophof@SERVER.UWINDSOR.CA (Scott Ophof) writes:
  12. : ...
  13. : >: One of the negatives that bothers me is that the customary
  14. : >: convention uses STEM.0 to hold the dimension.  Whoever
  15. : >: invented that was probably not a mathematician nor a C
  16. : >: programmer.  Element zero of an array is wanted by some
  17. : >: people.
  18. : I *like* the imho uncomplicated idea of an array starting at 1 with
  19. : the number of elements in element 0. I find it a quite UNsurprising
  20. : setup.  The concept of "first element is number 0" bothers *me*...
  21.  
  22. Yes, Humans and REXX programmers (unlike Mathematicians and
  23. C programmers) naturally start counting with 1, not 0.
  24.  
  25. -Ed
  26.  
  27. ps:  Scott's posting appears to attribute the above arguement to Anders
  28. (or maybe to myself).  The above arguement comes from another
  29. member of the ANSI committee.
  30.