PDA

View Full Version : Boolean statements



kona
01-05-2002, 06:33 PM
Once again, my unfamiliarity with the scripting language means i don't know how to do boolean manipulation.

For example, if i want to execute a particular piece of code when a variable 'value' is equal or greater than 5, but ALSO less than 8, how would i do it?

if ((value >= 5) AND (value < 8))

??? Chears, Max

darkness
01-07-2002, 03:52 PM
Close should be:

if (VALUE >=5) and (Value > 8) then

Hope this Helps

Michael McLaughlin/images/forums/icons/smile.gif
Systems Manager
Minnesota State University Mankato