2 Replies Latest reply: Jul 25, 2012 7:51 AM by Yme Joustra RSS

    Using Macro's in table expressions (definition)

      Hi,

       

      I have written a Macro in the editor module:

       

      function one(param1)

      one = param1 + param1

      end function

       

      Now I am calling the function 'one(3)' in a table column as expression. However the result that is being returned is ' - '.

       

      Why does is not just return 6? Do I have to do something else?

       

      I folllowed some tutorials on macro's but they only use it for 'onAction' events.

       

      Regards.