Answered
'if' statement with multiple conditions?
Here's what I'm trying to do:
if ((condition1 == true) and (condition2 == true)) {
//run this code
}
It compiled/ran fine under AS2, but it doesn't look like AS3 likes them. I get the following errors:
"Syntax error: expecting rightparen before and"
"Syntax error: rightparen is unexpected"
"Syntax error: expecting semicolon before leftbrace"
What gives? Will this be fixed before the final release?
if ((condition1 == true) and (condition2 == true)) {
//run this code
}
It compiled/ran fine under AS2, but it doesn't look like AS3 likes them. I get the following errors:
"Syntax error: expecting rightparen before and"
"Syntax error: rightparen is unexpected"
"Syntax error: expecting semicolon before leftbrace"
What gives? Will this be fixed before the final release?