5 Replies Latest reply: Jul 21, 2015 5:18 AM by Ulrike Gerber RSS

    If statement in load script over multiple lines

      Hi there,

       

      I have an If statement in the load script with a quite long if-clause which I like to write over multiple lines for a nicer view. Something like this:

       

       

      If      variable_a = 1                                   // case 1

        or  ( variable_a = 2 and variable_b = 3 )    // case 2

        or  ( variable_a = 3 and variable_b = 5 )    // case 3

      then

        DO SOMETHING

      else

        DO SOMETHING ELSE

      endif;

       

      Unfortunatly, it is not working like this.

       

      Any ideas?