UInt16 row=5;
Boolean odd = ((row % 2) == 1);

On 7 Dec 2001, at 13:24, Johnathan Smith wrote:

> 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/
> 
> 


John Leung
[EMAIL PROTECTED]
http://persweb.direct.ca/jleung

-- 
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