Well that depends on what u want to do. You could do something like this:
And that would assign the variable using a function.
Dim var(3) For t = 1 To 3 value = 5 var(t) = AssignVariable(variable,value) Next For n = 1 To 3 Print var(n) Next WaitKey() Function AssignVariable(variable,value) variable = value Return variable End Function
And that would assign the variable using a function.