Integer variable comparison
#1

I have a little question.


I have to compare four integer variables, and get which of them has the smallest value

pawn Code:
new variable[4];


if (variable[1] < variable[2] < variable[3] < variable[4]) //This IS NOT what I am looking for

How could I do that?
Reply


Messages In This Thread
[SOLVED]Integer variable comparison - by Jakku - 16.08.2010, 07:28
Re: Integer variable comparison - by wups - 16.08.2010, 07:31
Re: Integer variable comparison - by Jakku - 16.08.2010, 07:34

Forum Jump:


Users browsing this thread: 1 Guest(s)