PDA

View Full Version : [mx] if statements, 2 conditions? how?



holy_cheese
August 5th, 2003, 02:13 AM
whats the format for having 2 conditions???:q:
is it something like
if (number==1 AND bob._visible==0)
then....

i dont knoooooooooow :(

blah-de-blah
August 5th, 2003, 02:14 AM
uh i'm pretty sure you can just use 'and' :P

but you can also use && if that doesn't work...

holy_cheese
August 5th, 2003, 02:25 AM
sweet thax,i thought so too, but i neva really learnt the if format for AS so i wasn't sure

pom
August 5th, 2003, 07:11 AM
&& is better than AND, I can't remember why :-\

senocular
August 5th, 2003, 07:19 AM
depreciation ;)