#Global Variables trough multiple files
6 messages · Page 1 of 1 (latest)
?r
Normal counters support lists of integers:
#let arrayCounter = counter("arrayCounter")
#context arrayCounter.display()
#arrayCounter.update((0,0,0))
#context arrayCounter.display()
the state value is tied to the state's key. You should be able to share state by just using the same key if I understand correctly. state("x").get() == state("x").get()
Thanks. Thats it!