how to order five counters?

Find quick help here to get you started with Hollywood
Post Reply
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

how to order five counters?

Post by Juan Carlos »

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.
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: how to order five counters?

Post by airsoftsoftwair »

Are you looking for something like

Code: Select all

If a>b And a>c And b>c And ...
?
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

Re: how to order five counters?

Post by Juan Carlos »

airsoftsoftwair wrote:Are you looking for something like

Code: Select all

If a>b And a>c And b>c And ...
?
Hum, I thhough that this compare crashed the program, I'll test it, thanks.
Post Reply