Change output values of part of an array
Posted: 08 Jan 2013 15:42
Hello
I have a multipad of 12x3
The first row of 12 should put out a value of 1+increment of 1
The second row should output 100+increment of 1
The third row should output 1000+increment of 1
How do I do this? I tried something like:
decl i;
i=firstof(Pads.x);
if (Pads.x)>=12)num=100++;
But this didn't work
Thanks!
I have a multipad of 12x3
The first row of 12 should put out a value of 1+increment of 1
The second row should output 100+increment of 1
The third row should output 1000+increment of 1
How do I do this? I tried something like:
decl i;
i=firstof(Pads.x);
if (Pads.x)>=12)num=100++;
But this didn't work
Thanks!