Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions What the heck does || mean?

  • What the heck does || mean?

    Posted by Spencer Tweed on September 8, 2012 at 1:55 am

    Hey guys, sorry for the noobie question here but what does || mean in AE syntax? I tried searching around, but that symbol seems to confuse search engines…

    I remember going over this symbol back when I was learning C#, but that was a while ago…

    – Spencer

    Spencer Tweed replied 13 years, 7 months ago 3 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    September 8, 2012 at 2:40 am

    That’s JavaScript’s logical OR operator.

    Dan

  • Spencer Tweed

    September 8, 2012 at 8:50 pm

    Ah, now I remember. Thanks!

    – Spencer

  • Abhishek Neogi

    September 8, 2012 at 8:54 pm

    I think it’s OR[Used for boolean operations]
    I know higschool JAVA.[Forgot everything about C and C++ lol]
    Like
    if(a>b || b>a)
    {
    System.out.println(“Too bad”);
    }
    else
    {
    System.out.println(“BOOM!”);
    }

  • Spencer Tweed

    September 9, 2012 at 8:32 pm

    Cool, thanks! It’s amazing how quickly these things vanish from my mind…

    – Spencer

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy