-
Member
Logical Nor operator in as3
This is a logical nor operator where both have to be wrong to get passed the if statement, I used to always use 2 if statements nested in each other to get this done but now I can use one:
NOR:
PHP Code:
if(!(1==2||2==1)){ trace(true) }
I forgot what if statement I needed it for but it was one where I couldn't use && like here:
PHP Code:
if(1!=2&&2!=1){ trace(true) }
Last edited by Alloy Bacon; 03-06-2018 at 11:29 PM.
-
.
Hi
What is the actual question here Alloy?
-
Member
-
.
Hi,
As I thought, no logic nor an operator.
Just another illogical non operative post.
X
-
Member
its not officially included in adobe documents but I definitely NORD'D there or NERD ya its a nerd operator roflcopter
-
.
Hi,
I get it now, you are unable to answer genuine questions with good craft and coding answers so you just post random things you find on the internet to boost your post number.
Congratulations sir, big round of applause to the maestro.
X
-
Member
-
Tim (Super Moderator)
What you have presented is a expression which implements logical NOR, there is no logical NOR operator in AS3. This is not a new feature of AS3, but a fundamental consequence of being able to compose expressions.
When your swf2exe tool just HAS to work
there's only one choice... SWF Studio
-
Member
Well said, or we can say it is the NOR thcode expression
-
.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|