I'm fairly new to AS3 coming from a javascript background. I noticed
that I get an error when running the if statement below because
dataProvider[i].data doesn't exist.
if ( true || val == dataProvider[i].data) {
selectedIndex = i;
return;
}
In javascript the double OR
I know it works for
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of jandersen1978
Sent: Wednesday, April 11, 2007 8:58 PM
To: [EMAIL PROTECTED]
Subject: [flexcoders] Short-circuiting logical operators in AS3?
I'm fairly new to AS3 coming from
PROTECTED] *On
Behalf Of *jandersen1978
*Sent:* Wednesday, April 11, 2007 8:58 PM
*To:* [EMAIL PROTECTED]
*Subject:* [flexcoders] Short-circuiting logical operators in AS3?
I'm fairly new to AS3 coming from a javascript background. I noticed
that I get an error when running the if statement below
: [flexcoders] Short-circuiting logical operators in AS3?
Yeah, it definitely works for , I depend on it all the time. Not sure
if I've specifically tried it with || though...
Troy.
On 12 Apr 2007 09:43:36 -0700, Alex Harui [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote
4 matches
Mail list logo