The following program demonstrates that USE STRICT ARG in the routine
aha1() is assigning the two arguments correctly to the two local
variables ONE and TWO, although these two variables are not delimited
with a comma:
a="hallo"
b=.object~new
call aha1 a, b
call aha2 a, b
::routine aha1
use strict arg one two /* no comma between arguments! */
say "one:" one
say "two:" two
::routine aha2
use strict arg one, two
say "one:" one
say "two:" two
Is this a planned new behaviour (am using the trunk version), or should
I report it as a bug?
---rony
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel