how to order five counters?
- Juan Carlos
- Posts: 932
- Joined: Mon Sep 06, 2010 1:02 pm
how to order five counters?
I have five 5 counters, a, b, c, d, e they are count a=a+1 etc., I have them to read the times that I click in several buttons, but I want order the buttons more used, I have the doubt to use the classic system if a>b, if a>c, etc, If b>c, etc., etc., there is method more fast and without so code with "if" instruction.
- airsoftsoftwair
- Posts: 5834
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: how to order five counters?
Are you looking for something like
?
Code: Select all
If a>b And a>c And b>c And ...
- Juan Carlos
- Posts: 932
- Joined: Mon Sep 06, 2010 1:02 pm
Re: how to order five counters?
Hum, I thhough that this compare crashed the program, I'll test it, thanks.airsoftsoftwair wrote:Are you looking for something like
?Code: Select all
If a>b And a>c And b>c And ...