0

multiple trigger "if" in sequence without "else"

Hi, is there a way to write an "if function" formula that does not have a connection between them?

In my mind the sintax of an axample could be this:

if a=0 then aa="ZERO";

else aa=void;

end

if b=1 then bb="OK"

else bb="TO-DO";

end

2 replies

null
    • Nick
    • 6 yrs ago
    • Reported - view

    Separate them with a semicolon:

     

    if a=0 then aa="ZERO";

    else aa=void;

    end;

    if b=1 then bb="OK"

    else bb="TO-DO";

    end;

    and so on...

    • Yuri
    • 6 yrs ago
    • Reported - view

    now works!

    thankyou

Content aside

  • 6 yrs agoLast active
  • 2Replies
  • 1333Views