Someone Could Help Me With An And Node?

Discussion in 'BBNodes' started by Danielp, Jul 25, 2020.

  1. Danielp

    Danielp Boxer

    Joined:
    Jan 10, 2020
    Messages:
    16
    Likes Received:
    5
    Hi there,

    I tried to create a simple AND node. Unfortunately, it doesn't work.
    Can someone help here?

    Bool1 & Bool2 = A True

    [​IMG]

    Daniel
     
    Syntax Genius likes this.
  2. Syntax Genius

    Syntax Genius Boxer

    Joined:
    Aug 30, 2020
    Messages:
    6
    Likes Received:
    11
    Hi Daniel,

    What do you mean? You want to check something? Like an If Statement? Or do you wanna set something like a variable?

    Some tips:
    In Javascript to “compare” something, you need to use ==, if you just use 1 equal sign = it’ll rather “set” a value to something..

    Then for the “AND” you use double sign &&.

    If you have any additional questions feel free to ask.

    Cheers!
     
    chris15smile likes this.
  3. Danielp

    Danielp Boxer

    Joined:
    Jan 10, 2020
    Messages:
    16
    Likes Received:
    5
    Hey @Syntax Genius,

    sorry for my late reply.

    What I mean, is to compare the two Input signals.
    If booth "1", the Output is true.
    Otherwise, false
    upload_2020-9-27_11-3-13.png upload_2020-9-27_11-3-13.png

    Daniel
     
  4. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    605
    Likes Received:
    361
    Roberto P and Danielp like this.
  5. Danielp

    Danielp Boxer

    Joined:
    Jan 10, 2020
    Messages:
    16
    Likes Received:
    5
    Vlad-NY likes this.
  6. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    605
    Likes Received:
    361
    You're welcome :)
     
    Danielp likes this.

Share This Page