home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!psuvax1!psuvm!lrl
- Organization: Penn State University
- Date: Tue, 15 Sep 1992 15:46:48 EDT
- From: Linda Littleton <LRL@psuvm.psu.edu>
- Message-ID: <92259.154649LRL@psuvm.psu.edu>
- Newsgroups: comp.lang.rexx
- Subject: Re: ARG() behaviour
- References: <9209142023.AA09198@SERVER.uwindsor.ca>
- Lines: 22
-
- In article <9209142023.AA09198@SERVER.uwindsor.ca>, Scott Ophof
- <ophof@SERVER.UWINDSOR.CA> says:
-
- >The ARG() function behaves differently in different implementations
- >and levels.
- >The following returns either 4, 5, or 6, depending on the opsys.
-
- > Trace OFF
- > Say Function('The number', 'of',, 'argstrings',,)
- > Exit
- > Function: Procedure
- > Return arg
-
- This was discussed briefly at the ANSI meeting and it was acknowledged
- that implementations differ on this. MFC had strong reasons why the
- answer should be 4; others had strong (umm) arguments why it should
- be 6. I don't remember anyone arguing for 5 and sorry, I don't remember
- the reasoning.
-
- It feels right to me that the answer should be 6; otherwise the programmer
- wouldn't have added the extra commas. Does anyone have a particular need
- for this to be one way or the other?
-