Make building lists of variables easier
josephcsible opened this issue · 8 comments
Issue type:
Only keep the issue types that are applicable.
- ➕ Feature request
Currently, it's easy to build lists of constants with "List" in the logic programmer. It's very difficult to build lists of variables, though. The easiest way is probably to take an empty list and keep applying "append". We should do something like adding "Var List" to the logic programmer, which would let you put in variable cards to make into a list all at once.
Does materialising the list not also materialise the variables within said list? Or do they remain dynamic?
Also, a method to build such a list using the variable store is proposed in #1218
Does materialising the list not also materialise the variables within said list? Or do they remain dynamic?
Materializing makes everything static, so any lists will become a copy of that moment
That's what I thought - which makes that option unviable (at least for my usecase).
Couldn’t you just treat variables as their signature and allow them to be added to lists like constants? That seems more in line with how Integrated Dynamics is conceptually designed.
It would be especially helpful to allow editing lists, by the way. It’s currently extremely tedious to do that:
- Create second list with elements to be added or removed
- Create variable that performs relevant operation using original list and list of changes
- Put both lists in Variable Store
- Put remaining variable in Materializer
- Put blank Variable Card in Materializer
- Use resulting list in place of original
- Clear three remaining Variable Cards