Variables by Reference

General discussions on potential enhancements to the APL+Win system.

Variables by Reference

Postby Ajay Askoolum » July 3rd, 2011, 3:44 am

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.
Ajay Askoolum
Posts: 813
Joined: February 22nd, 2007, 2:16 am
Location: United Kingdom

Postby Tech Support » July 11th, 2011, 7:42 pm

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.
Tech Support
Posts: 1216
Joined: February 10th, 2007, 7:33 am
Location: Rockville, MD

Return to APL+Win Wish-List

Who is online

Users browsing this forum: No registered users and 1 guest