11 Replies Latest reply: May 25, 2016 5:57 AM by Andrea Cristiano RSS

    set multiple variables

    Andrea Cristiano

      HI guys I need your help.


      I could do this:


      I would like to do these actions, in this order:

      1. save a value in a variable;
      2. use the value of this variable to calculate a value of another variable.


      A simple example:

      1. x = 15
      2. y = 2 * x

      At the and x = 15 and y = 30


      Everything should be done when I clik a button.


      I create the button and set the actions, but the point number 2 doesn't work.

      If I press the button twice evrything works, but I want press only one time.


      How can I do?