home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!paladin.american.edu!auvm!SERVER.UWINDSOR.CA!OPHOF
- X-Mailer: ELM [version 2.3 PL11]
- Message-ID: <9209142023.AA09198@SERVER.uwindsor.ca>
- Newsgroups: comp.lang.rexx
- Date: Mon, 14 Sep 1992 16:23:04 EDT
- Sender: REXX Programming discussion list <REXXLIST@UGA.BITNET>
- From: Scott Ophof <ophof@SERVER.UWINDSOR.CA>
- Subject: ARG() behaviour
- Comments: To: REXX Discussion list <REXXLIST@uga.cc.uga.edu>
- Lines: 25
-
- Sub: ARG() behaviour
-
- The ARG() function behaves differently in different implementations
- and levels.
- The following returns either 4, 5, or 6, depending on the opsys.
- Note that there are 5 commas in the call to FUNCTION()...
-
- /* Behaviour of ARG() */
- Trace OFF
- Say Function('The number', 'of',, 'argstrings',,)
- Exit
- Function: Procedure
- Return arg
-
- According to "The REXX Language" (2nd edition), "4" should be the
- correct answer. Has this changed since TRL-1?
- And what is the correct answer?
- How strict is "explicitly specified as an argument string when the
- routine was invoked" (TRL-2, page 83)?
-
- Your views, please.
-
-
- Regards.
- $$/
-