>
> getStackBase() may return different values if executed multiple times
> creating side-effects
>
Rony, stackBase is checked by CALL's or method invocations to limit
recursion depth (thus breaking any infinite recursion).
In such cases you'd receive Error 11 "Control stack full"

The compiler warning is to be expected as it is usually not a good idea to
return the address of a local (i. e. stack) variable.  It's OK how ooRexx
uses it in this case.
------------------------------------------------------------------------------
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