Thread
:
Operators and conditionals
View Single Post
#
32
01-08-2009, 07:21 AM
gm9
gm10-1
Join Date: Feb 2006
Posts: 6,479
Oh no that works fine. Example:
y=(a == 10)
z=(a == 5)
COND=y || z
x=COND ? true : false
Will be true for values of a = 5 or 10 and false for anything else.
__________________
P R O F I T
U I
∙ R E B O R N
[
Auto-Updater
] | [
Portal
] | [
F.A.Q.
] | [
Support Forums
]
~ Retired ~
If it does not work, you likely
installed
it incorrectly. Always try a
clean install
before reporting bugs.
gm9
View Public Profile
Send a private message to gm9
Find all posts by gm9