Quick basic question

how do i do ‘or’ inside an if statement?

i know that strictly and is ‘&&’ , so can i just replace that with ‘or’, or do i use a comma?

||


if (_x > 0 || _x < 550) {
trace("_x is within movie bounds");
}

ok. so || is or.
thanks a lot :smiley:

|| is the logical or.
&& is the logical and.

=)