Using Conditionals in Execute Code

Support
  • I have been trying to use conditions "Switch " ,"for" and "if" statements to call functions based on either the switch expression, the iterator or the evaluation of the "if" expressions.

    The issue is that at the first run of the expressions, it calls the corresponding function, but after that it gives an error in the log saying "[940048881] [12:44:56] Thread #1 : ReferenceError: Can't find variable: third during execution of action 940048881"
    It always says it can't find the the variable, when it should be calling the function name.

    Attached below are the screenshots:
    alt text
    The error log:
    alt text

    IS there a problem somewhere, or it is not allowed??

  • 1 Votes
    2 Posts
    550 Views
  • 0 Votes
    4 Posts
    973 Views
  • 0 Votes
    1 Posts
    648 Views
  • 0 Votes
    2 Posts
    874 Views
  • 0 Votes
    4 Posts
    1017 Views