General

Change output values of part of an array

Started by mh175 on .

Sign in or create an account to join the conversation.

2 posts

Topic starter
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!