Source language: Translate to:

Do something If Odd Number Else...

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Do something If Odd Number Else...

Postby domino » Mon Jun 05, 2006 3:14 am

I would like something to happen if [Number] is odd
and something else to happen if [Number] is even....

I`m not sure how to determine programatically if [Number] is odd or even.


I`m sure this has been covered before, but I can`t find it...

Cheers
Dave
User avatar
domino
 
Posts: 275
Joined: Sat Apr 02, 2005 7:11 am
Location: Notts UK

Postby domino » Mon Jun 05, 2006 8:16 am

Thanks Josea. Much appreciated... works nicely.
User avatar
domino
 
Posts: 275
Joined: Sat Apr 02, 2005 7:11 am
Location: Notts UK


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest