Hi folks,
I'm looking for examples and references to look at in the manuals as appropriate.
I'm a longtime JMP user but have marginal experience with JSL. I'm writing a script to automate the extraction and compilation of a bunch of legacy data. I am having reasonable luck with the mechanics of each step, but my code is becoming a long series of *stuff* and I need to modularize it by writing functions and then calling those. However, I am misunderstanding how JSL works on some level. I see the "function" and "include" objects, but I'm having a hard time finding good examples of basic usage of these. For example, I made one function and put it at the end of my code, but I couldn't call it earlier in the code. I suppose that means JMP is reading the script sequentially.
what are the proper and best practices for doing this?
I expect this is a basic question, but any explanations are most welcome.
Regards,
Scott