2 Replies Latest reply: Feb 20, 2015 6:47 AM by Timanshu Virmani RSS

    How make good scenarios?

    Виталий Чуприна

      I have some problem with operator if ...else if.

      If in my script i have inserted "If -operator". For these reason main script doesn't work correctly

      Structures of my script:

       

      (1)If (department = 1) then

        N =......

        if a=...  then  (inserted )  

       

      end if

      ----------------------------------------

      (2) Else if (department = 2) then

      N =......

        if a=...  then  (inserted )  

      .....

      --------------------------------------

      (3) Else if (department = 3) then

      N =......

        if a=...  then  (inserted )  

      .....

      How use If ... else? Is there any way to control script? Maybe some function like "goto" in C++?