Hi,

Just discovered this, haven't look at why.  qt.rex:

use arg a
  say 'arg() ?' arg()
  say 'a:     ' a
  say 'arg(1)?' arg(1)

C:\work.ooRexx\wc\main>qt
arg() ? 1
a:
arg(1)?
C:\work.ooRexx\wc\main>qt some
arg() ? 1
a:
arg(1)?
C:\work.ooRexx\wc\main>rexx -v
Open Object Rexx Version 4.2.0 - Internal Test Version
Build date: Mar 15 2012
Addressing Mode: 64

So, arg() reports 1 argument when there are none, and arg(1) returns the
empty string when there is an argument.

--
Mark Miesfeld
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to