Page 1 of 1

Setting multiple button states to "0"

Posted: Mon Sep 26, 2022 5:39 am
by mixmog
I'm working on a touchscreen interface which requires that all button states are set to "0" prior to each command being executed.

Is there a way (or could there be in the future release?) to change multiple button states with a single line, eg:

Button(0-4).State = 0;

Rather than:

Button(0).State = 0;
Button(1).State = 0;
Button(2).State = 0;
Button(3).State = 0;
Button(4).State = 0;

Thanks!

Re: Setting multiple button states to "0"

Posted: Thu Sep 29, 2022 7:23 am
by Vincent Burel
yes, the "index range" is something we think about already... this is noted...

Re: Setting multiple button states to "0"

Posted: Wed Oct 12, 2022 11:36 pm
by mixmog
Great! Thanks.