Change output values of part of an array

Discuss Lemur and share techniques.
Post Reply
mh175
Newbie
Posts: 23
Joined: 06 Oct 2012 16:42

Change output values of part of an array

Post by mh175 »

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!
Last edited by mh175 on 08 Jan 2013 15:50, edited 1 time in total.
mh175
Newbie
Posts: 23
Joined: 06 Oct 2012 16:42

Re: Change output values of part of an array

Post by mh175 »

Obviously I'm missing the part about how to address a part of an array and how to reset the increment back to 0 when the array changes
Post Reply