‎How to clear the value of multiple variables within a dictionary without removing them in one action?

Before I explain, keep in mind that again these are variables within a dictionary (all strings, not using array because you can only index with integers which I'm not using), not separate local variables.

As far as I know you can only do one at a time using the "clear dictionary/array entry" action because it doesn't let you choose multiple variables and when you choose to define manually that's where I'm not sure if you can somehow do multiple there, but it doesn't seem to work doing [Var1][Var2][Var2] etc.

I can explain a bit more if needed, thanks if someone has an answer.

Edit: Just found a work around by making a separate dictionary that contains the same variables with no value and copied them to the main dictionary which pretty much achieves what I want. So I guess the problem is solved, but still curious if there's another way.
 
Last edited:

Dm114

Well-known member
Before I explain, keep in mind that again these are variables within a dictionary (all strings, not using array because you can only index with integers which I'm not using), not separate local variables.

As far as I know you can only do one at a time using the "clear dictionary/array entry" action because it doesn't let you choose multiple variables and when you choose to define manually that's where I'm not sure if you can somehow do multiple there, but it doesn't seem to work doing [Var1][Var2][Var2] etc.

I can explain a bit more if needed, thanks if someone has an answer.

Edit: Just found a work around by making a separate dictionary that contains the same variables with no value and copied them to the main dictionary which pretty much achieves what I want. So I guess the problem is solved, but still curious if there's another way.
Will Clear dictionary entry (in a loop) do the job for what you want to achieve?
 
Top