3 Replies Latest reply on May 23, 2011 10:02 AM by BertrandLegrand

    variable name by calculation

    BertrandLegrand

      Title

      variable name by calculation

      Post

      Is there any way to define variables in a script and name them automatically with the result of a calculation?

      Example:

      $count = 1

      set variable ( $var1 = value x ) ( the figure "1" becoming part of the variable's name as a result of the former calculation)

      $count = 2

      set variable ( $var2 = value y )

      and so on.