I think you need to define the function as a variable (see: Custom function not defined when called from a different routine). So your code would be repeitionn = function(input) {}
I think you need to define the function as a variable (see: Custom function not defined when called from a different routine). So your code would be repeitionn = function(input) {}