Expose array and dictionary-style values in variables
Reported by Christopher Stawarz | May 4th, 2010 @ 12:15 PM
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 May 4th, 2010 @ 12:18 PM
- Assigned user cleared.
-
Christopher Stawarz September 16th, 2010 @ 12:54 PM
- Milestone order changed from 0 to 0
Assigned to Tender discussion #20.
-
Christopher Stawarz April 30th, 2012 @ 02:56 PM
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]
, whereindex
is any expression. With regular variables, attempting to use this syntax always raises an exception. However, with selection variables, the expressionsel[n]
returns then
th tentative selection. -
Christopher Stawarz January 4th, 2013 @ 02:40 PM
Assigned to Tender discussion #72. That discussion also included a workaround/alternative that might be worth considering.
-
Christopher Stawarz September 15th, 2013 @ 10:55 AM
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 October 3rd, 2014 @ 04:57 PM
- Assigned user set to Christopher Stawarz
Another step towards resolution of this issue: The expression parser now supports list literals.
-
Christopher Stawarz March 3rd, 2015 @ 02:43 PM
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 January 25th, 2016 @ 03:45 PM
- Tag cleared.
-
Christopher Stawarz March 15th, 2016 @ 10:53 AM
- 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