Expose array and dictionary-style values in variables
Reported by Christopher Stawarz | 2010-05-04 12:15:44 UTC
Assigned to Tender discussion #1. It would be useful if users could access variables with array and dictionary values. In particular, the ability to access selection variables by index could be handy.
Comments and changes to this ticket
-

Christopher Stawarz 2010-05-04 12:18:11 UTC
- Assigned user cleared.
-

Christopher Stawarz 2010-09-16 12:54:31 UTC
- Milestone order changed from 0 to 0
Assigned to Tender discussion #20.
-

-

-

-

Christopher Stawarz 2012-04-30 14:56:55 UTC
This change is now partially implemented on a branch. Specifically, the expression parser now supports variable subscripts, i.e. expressions of the form
varname[index], whereindexis any expression. With regular variables, attempting to use this syntax always raises an exception. However, with selection variables, the expressionsel[n]returns thenth tentative selection. -

Christopher Stawarz 2013-01-04 14:40:28 UTC
Assigned to Tender discussion #72. That discussion also included a workaround/alternative that might be worth considering.
-

Christopher Stawarz 2013-09-15 10:55:06 UTC
Further progress on this issue: Variable subscripting now retrieves elements from list values, and the default value of a variable can now be a list
-

-

-

Christopher Stawarz 2014-10-03 16:57:07 UTC
- Assigned user set to Christopher Stawarz
Another step towards resolution of this issue: The expression parser now supports list literals.
-

Christopher Stawarz 2015-03-03 14:43:31 UTC
More progress: The expression parser now supports dictionary literals and general subscript expressions. The only part missing now is mutation of list and dictionary values stored in variables.
-

-

Christopher Stawarz 2016-01-25 15:45:37 UTC
- Tag cleared.
-

Christopher Stawarz 2016-03-15 10:53:15 UTC
- State changed from open to resolved
The only part missing now is mutation of list and dictionary values stored in variables.
Done.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The core framework and supporting libraries for the MWorks Suite