For the latest version of JMP Help, visit JMP.com/help.


Scripting Guide > Programming Methods > Names Default To Here > Best Practices for Advanced Scripting
Publication date: 04/28/2021

Best Practices for Advanced Scripting

Minimize Polluting the Global Namespace and Prevent Scripts from Interacting

Always start your script with this line:

Names Default To Here(1);

Share Variables Across Scripts

Use named namespaces. Namespace names are placed in the global scope.

Use Anonymous Namespaces

Using namespace references to anonymous namespaces avoids possible conflicts with other namespaces.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).