My first reply bounced so here is another try:

Dear Rony,

This is just to inform that I have successfully created a fresh build for version 11467 of ooRexx for Mac and successfully tested it with some of my own programs and rexxcps. Runs as expected. In the coming days I will see if I can make a new pkg installer.

That was the good news. The bad news is that I think it is not working as it should with the newest features. I downloaded your examples and run them blindly and some seems to work and others not. I will install the BSF/ooRexxx installer and compare the output later.

I am still using a tweaked version of cmakelists.txt so there might be something there, I will investigate and come back.

Attached the results of my runs

POs-MacBook-Pro:addresswith po$ rexx test1.rex
rexx: about to execute [dir] ->
     7 *-* address cmd "dir" with output using (hi.)
       >>>   "dir"
       +++   "RC(30)"
rexx: <- after executing [dir].
rexx: "HI.": HI. hi~class: The Stem class
rexx: ---
rexx: running command [dir] yielded the following output, stored in [HI]:
    13 *-*   do i=1 to hi.0
REX0041E: Error 41 running /Users/po/AddressWith/test1.rex line 13:  Bad 
arithmetic conversion.
REX0404E: Error 41.1:  Nonnumeric value ("HI.0") used in arithmetic operation.

POs-MacBook-Pro:addresswith po$ rexx test2.rex
rexx: about to execute [dir] ->
     8 *-* address cmd "dir" with output using (arr)
       >>>   "dir"
       +++   "RC(30)"
rexx: <- after executing [dir].
rexx: arr~class: The Array class
rexx: ---
rexx: running command [dir] yielded the following output:

POs-MacBook-Pro:addresswith po$ rexx test3.rex
rexx: about to execute [dir] ->
     8 *-* address cmd "dir" with output using (list)
       >>>   "dir"
       +++   "RC(30)"
rexx: <- after executing [dir].
rexx: list~class: The List class
rexx: ---
rexx: running command [dir] yielded the following output:
POs-MacBook-Pro:variablereference po$ rexx test_0.rex
a=[this value comes from the main program ('prolog')]

a=[this value comes from routine named 'one']

a=[this value comes from routine named 'two']

in three: varRef=[The VariableReference class] varRef: [this value comes from 
routine named 'two']
a=[this value comes from routine named 'three']

b.1=[value set in main program]
b.2=[value set in routine 'four']

POs-MacBook-Pro:variablereference po$ rexx test_a.rex
     4 *-* use arg >a
     1 *-* call test
REX0088E: Error 88 running /Users/po/VariableReference/test_a.rex line 4:  
Invalid argument.
REX0796E: Error 88.931:  Argument 1 was omitted. A VariableReference argument 
is required.

POs-MacBook-Pro:variablereference po$ rexx test_b.rex
     6 *-* use arg >test="some default value" -- alias the variable reference
REX0099E: Error 99 running /Users/po/VariableReference/test_b.rex line 6:  
Translation error.
REX0798E: Error 99.950:  A USE ARG default value is not allowed for variable 
references.

POs-MacBook-Pro:variablereference po$ rexx test_c.rex
1. a=A
2. a=value from test()

POs-MacBook-Pro:variablereference po$ rexx test_gt.rex
main: a=123 (before)
main: a~identityHash=-4330554849 (before)
------

main: a~identityHash=-4330554849 (before test)

test:  test=123 test~class=The String class (arrived)
test:  test~identityHash=-4330554849
test:  adding 17 to variable's value ...
test:  test=140
test:  test~identityHash=-4330627393

main: a=140 (after test)
main: a~identityHash=-4330627393 (after test)
------

main: a~identityHash=-4330627393 (before test2)

test2: test=140 test~class=The VariableReference class (arrived)
test2: test~value~identityHash=-4330627393
test2: adding 10 to variable's value ...
test2: test=150 test~value=150 | aliased variable: test~name=A
test2: test~value~identityHash=-4330656209

main: a=150 (after test2)
main: a~identityHash=-4330656209 (after test2)
------

main: a=150 (before test3)
main: a~identityHash=-4330656209 (before test3)

test3: test=150 test~class=The VariableReference class (arrived)
test3: replacing value variable A points to ...
test3: test=a Set test~value=a Set | aliased variable: test~name=A
test3: test~value~identityHash=-4330684737

main: a=a Set
main: a~identityHash=-4330684737 (after test3)
=============
POs-MacBook-Pro:variablereference po$ 


Von meinen Macbook gesendet

Hälsningar/Regards/Grüsse,
P.O. Jonsson



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to