Scripting Guide > Programming Methods > Names Default To Here > Best Practices for Advanced Scripting
Publication date: 08/13/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).
.