Or

 function isOdd tNumber
   return tNumber mod 2 = 1
 end isOdd


On 2/8/06 9:37 AM, "Mark Smith" <[EMAIL PROTECTED]> wrote:

> function isOdd tNumber
>    if tNumber mod 2 = 0 then
>      return false
>    else
>      return true
>    end if
> end isOdd
> 
> if  isOdd(x) then set the the textColor of line x of fld "List" to red
> 
> Hope this helps,
> 
> Mark
> 
> On 8 Feb 2006, at 14:28, Robert Presender wrote:
> 
>> How does one determine if a number is odd or even?
>> 
>> For example I would like to do something like this:
>> 
>> If the lineNumber of line x of fld "List" is odd then set the
>> textColor to red.
>> 
>> Suggestions are appreciated.
>> 
>> Regards ... Bob
>> 
>> _______________________________________________
>> use-revolution mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to