Thx for the help. One more question : is there any way to forward declare a variable without knowing the exact type? if flag == true: var c = 5 else: var c = 10.0
The if statements here open a new scope so I no longer have access to the c variable. I was thinking I could work around this with some kind of template maybe.