N
N! Xau
hi
I need a way to threat a certain number of timers in a homogeneous way.
Let's say I have this code:
select X
case 1
timer1.enabled = true
case 2
timer2.enabled = true
case 3
timer3.enabled = true
case 4
timer4.enabled = true
....
case 19
timer19.enabled = true
case 20
timer20.enabled = true
end select
Timers' names differ by the last 1 or 2 digits.
Can I do all this "passing" X to the name of the timer I want to
select? something like:
timerX.enabled = true
passing X at runtime
thanks
N! Xau
I need a way to threat a certain number of timers in a homogeneous way.
Let's say I have this code:
select X
case 1
timer1.enabled = true
case 2
timer2.enabled = true
case 3
timer3.enabled = true
case 4
timer4.enabled = true
....
case 19
timer19.enabled = true
case 20
timer20.enabled = true
end select
Timers' names differ by the last 1 or 2 digits.
Can I do all this "passing" X to the name of the timer I want to
select? something like:
timerX.enabled = true
passing X at runtime
thanks
N! Xau