Page 1 of 1

Variables by Reference

PostPosted: July 3rd, 2011, 3:44 am
by Ajay Askoolum
I (cynically) commented that []vget might just be doing an {Execute} internally. It isn't since its right-hand argument is a literal that represents a single variable name in the workspace.

That is, []vget 'Name' will return the value of Name but fails with multiple names e.g. []vget 'Name Sex' will fail; had it been doing an {Execute}, it would have returned both values.

Now my wish:

Can I have a []vput that will take a left-hand argument and assign that to its right-hand argument?

This will neatly give me reference by name or (a simulation of) C#'s out variables.

PostPosted: July 11th, 2011, 7:42 pm
by Tech Support
Thank you for submitting your enhancement request. We'll let you know if it will be up for consideration in a future release of APL+Win.