This version of the Help is no longer updated. See JMP.com/help for the latest version.

.
Scripting Guide > Programming Methods > Advanced Scoping and Namespaces > Best Practices for Advanced Scripting
Publication date: 07/30/2020

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).