Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Expose array and dictionary-style values in variables

#43

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.

Reported by Christopher Stawarz · May 4th, 2010 @ 12:15 PM

State: resolved
Milestone: none
Assigned to: Christopher Stawarz Christopher Stawarz

Activity

  1. Christopher Stawarz
  2. Christopher Stawarz
    Christopher Stawarz
    • Milestone order changed from 0 to 0

    September 16th, 2010 @ 12:54 PM

  3. Christopher Stawarz
    Christopher Stawarz
    • State changed from new to open

    April 8th, 2011 @ 10:49 AM

  4. Christopher Stawarz
  5. Christopher Stawarz
  6. Christopher Stawarz
    Christopher Stawarz

    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], where index is any expression. With regular variables, attempting to use this syntax always raises an exception. However, with selection variables, the expression sel[n] returns the nth tentative selection.

    April 30th, 2012 @ 02:56 PM

  7. Christopher Stawarz
    Christopher Stawarz

    Assigned to Tender discussion #72. That discussion also included a workaround/alternative that might be worth considering.

    January 4th, 2013 @ 02:40 PM

  8. Christopher Stawarz
    Christopher Stawarz

    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

    September 15th, 2013 @ 10:55 AM

  9. Christopher Stawarz
  10. Christopher Stawarz
  11. Christopher Stawarz
    Christopher Stawarz
    • Assigned user set to Christopher Stawarz

    Another step towards resolution of this issue: The expression parser now supports list literals.

    October 3rd, 2014 @ 04:57 PM

  12. Christopher Stawarz
    Christopher Stawarz

    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.

    March 3rd, 2015 @ 02:43 PM

  13. Christopher Stawarz
  14. Christopher Stawarz
  15. Christopher Stawarz
    Christopher Stawarz
    • State changed from open to resolved

    The only part missing now is mutation of list and dictionary values stored in variables.

    Done.

    March 15th, 2016 @ 10:53 AM

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.