Displaying 1 result from an estimated 1 matches for "vr2ans".
Did you mean:
trans
2001 Mar 02
1
inc function .. more generally, var arguments
Hi
I'd like to be able to write a simple 'increment' function (like inc in
pascal or ++ in C++) that takes the argument and increments it
'permanently' ie so that z<-1; inc(z) # no assignment; z #2
I can see how to do it with a global variable but that is not what I want -
I want to modify the object that is the actual argument.. I have looked
at assign(), <<