Member
Join Date: Mar 2006
Posts: 39
|
Is there AND and OR logical operators that can be used in scripts?
|
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
There are no boolean operators built into the scripting language. HOWEVER, you can achieve the same net effect very easily in 90% of the situations you'll run into. The trick is to use arithmetic operations instead. For details, see the topic "Script-Writing 101" in the "How To" chapter of the docs. There is a sub-topic entitled "Handling Boolean Logic Conditions". Give it a read and then let me know if you still have questions. If you've got a specific situation you're trying to solve that doesn't seem to fit the arithmetic solution, I'll see what I can come up with for you.
-Rob At 06:51 AM 8/18/2006, you wrote: Quote:
|
|
#2 |
|
|