if(number%2)
// odd
else
// even

----- Original Message -----
From: "Johnathan Smith" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, December 07, 2001 4:24 PM
Subject: Basic C/C++ Question


> I know this is not the right forum for a basic C/C++
> question but I am writing and palm program that will
> have a list and I am going to make the lines in the
> list yellow/green/yellow and so on,  But I dont know
> how to check to see if the row number is odd/even??
>
> I have the row number can someone please tell me how
> to check
>
> __________________________________________________
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to