8 Replies Latest reply: Nov 20, 2016 1:27 PM by Guennadi Sloutsker RSS

    How to assign an output of a user defined function

    Guennadi Sloutsker

      Hi All,

      I would like to assign an output of a function to a variable.
      Say a function is just

       

      function test
          test = 3 + 3
      end function

       

      While trying to assign to a variable, say, vTestVar, I get an error message:
      Error: Error in expression: TEST ist not a valid function.

       

      What am I doing wrong?
      Thank you very much in advance.