On Sun, 03 Feb 2013 12:27:59 -0400, Arved Sandstrom
<> wrote, quoted or indirectly quoted someone
who said :
>How exactly would you expect multiple outputs to work?
There is FORTH, but its solution could not be applied to Java.
Inputs are values on the stack consumed by a methods. Outputs are
values left on the stack. The number of each need not be fixed.
Just as you can declare a parameter "final", you would be able to
declare it "out". When you put the name of a variable in that slot of
a parameter list, it would receive the value of the corresponding parm
variable on exit. You could not put an expression in that slot, only
left of = expressions. You might also allow inout variables (a weak
version of Algol parm passing).
--
Roedy Green Canadian Mind Products
http://mindprod.com
The first 90% of the code accounts for the first 90% of the development time.
The remaining 10% of the code accounts for the other 90% of the development
time.
~ Tom Cargill Ninety-ninety Law