I have a string (“W_OWM_Temp”) and an int number (look0) and would like to create the item name out of them: var tempS0 = "W_OWM_Temp" + look0.toString as GenericItem
Goal is to post an Update of this very item into another item like this: W_OWM_TempDay0.postUpdate(tempS0.state)
I found that (I am checking for available threads of course)
That’s where I got the “as GenericItem” from.
But obviously I did not find the right syntax yet…