In cleaning up the rxsock6 code, I found a great example of how variable
references make things easier. The original rxsock code was written with
functions and the interface passed in stem variable names that were used to
return information, with the function main return value being an error
code.

David's new code is creating real objects rather than just wrapping an
object around a bunch of function calls. Based on the comments in the code,
he was originally going to do that, but since the native code portions have
been converted to methods, he no longer has the capability to set a
caller's local variable. His current code is requiring an array object to
be passed in as an argument and the information is returned by appending to
that array. This would not have been necessary if the variable reference
capability was available.

Rick
------------------------------------------------------------------------------
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