The below code works from a script wondow, and is basically 3 different ways to change a column formula.
When I run the same code from a custom JMP toolbar it will crash on ::dt:helloworld << set formula ("5");
why is this? shouldn't the behavior be identical?
open("$SAMPLE_DATA/Amplitude 100.jmp");
dt = datatable("amplitude 100");
obj = new column("helloworld");
:helloworld << set formula("3");
dt :helloworld << set formula ("4");
::dt:helloworld << set formula ("5");
caption("Hello World");