1 #!/usr/local/bin/rune -x
3 # Demonstrate the use of lvalue scope. lvalue scope may be applied
4 # to individual procedural arguments or to the return value. It
5 # causes the caller to pass the object by reference instead of by
6 # value, allowing the procedure to modify the contents of the
9 # This feature is most often used when implementing operators that
10 # require lvalues, such as "++" and "&=", but it can be used to
11 # great effect with normal procedures as well.
37 return this.test4() + 1;
51 main(int ac, char **av)
58 (Fubar *xx, Fubar *yy) cc;
79 *xpp = xp; # clearing *xpp (i.e. contents of xp) before assignment XXX