Append/add new values in a variable

Dm114

Well-known member
In a iterator loop, I wanna append/add new values in a variable.

Anyone can help?
What do you mean by "append/add in a variable"?
To append text to a string variable, just concatenate the new text to the existing one.
To add values to an array/dictionary, create the appropriate key and set the new value.
 

I'mnoob

Member
What do you mean by "append/add in a variable"?
To append text to a string variable, just concatenate the new text to the existing one.
To add values to an array/dictionary, create the appropriate key and set the new value.
Hi.
If I have an array or list.
And I wanna add new values in that array from the iterator_value.
Something like that.

I'm sorry I didn't understand how to "create the appropriate key and set the new value"

If ur saying adding new values manually within an array then no.

I want it to update itself like adding new array from iterator_value
 
Last edited:

Dm114

Well-known member
Hi.
If I have an array or list.
And I wanna add new values in that array from the iterator_value.
Something like that.

I'm sorry I didn't understand how to "create the appropriate key and set the new value"

If ur saying adding new values manually within an array then no.

I want it to update itself like adding new array from iterator_value
It is what @Endercraft and I were meaning...
 

I'mnoob

Member
You can use the index you want and iterator_value as value in the set variable action.
Hi, I'm not good with using index, you mean using manual index?. I did the iterator value part but I can't set index for it.

So it can't automatically add index itself when the value gets updated?

Hi, I figured it out
 
Last edited:
Top