Integrated Dynamics

Integrated Dynamics

63M Downloads

Make building lists of variables easier

josephcsible opened this issue · 8 comments

commented

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.

commented

Does materialising the list not also materialise the variables within said list? Or do they remain dynamic?

commented

Also, a method to build such a list using the variable store is proposed in #1218

commented

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

commented

That's what I thought - which makes that option unviable (at least for my usecase).

commented

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:

  1. Create second list with elements to be added or removed
  2. Create variable that performs relevant operation using original list and list of changes
  3. Put both lists in Variable Store
  4. Put remaining variable in Materializer
  5. Put blank Variable Card in Materializer
  6. Use resulting list in place of original
  7. Clear three remaining Variable Cards
commented
commented

Ah, sorry. Still, my first paragraph still stands.

commented

Could we get a way to say "append all cards in variable store" as a way to quickly make these types of lists? As in, a bunch of Block Reader cards placed alone in a variable store with a reader against it, then "Append from Variable Store" as an aspect?