Hi, thanks for the reply.
Well the problem is a bit more complicated than the example script in attachment. The script that I really want to make consists of 30+ functions and some of them call up several others.
The idea is that this script is made avaiable to other people via a JMP add-in. So If the add-in is installed they can access the functions at any time from any table.
I basically want to have the equivalent of a python/C++ class with functions in it that can be called up.
What I want to know is: how do i make it work from the column formula?
If I call myfun2 within the script, that does not give me an error. But I have it when running it from the column formula.
I also know that in JMP14 is officially supported to introduced own costum formulas (link).
I am pretty sure this should be possible, it is just a matter on how to do it properly in jsl/JMP and that is exactly my question.