namespace local
namespace local makes the local namespace name current. From then on, !x means variable x of that
namespace. Only this script can see a local namespace; switching away and back finds its variables as they
were.
name: A name made of letters, digits and _, not starting with a digit. Case does not matter.
A script starts in the local namespace std, and starts there again each time it is run.
Example
Section titled “Example”namespace local ns1set !test onenamespace local ns2set !test twonamespace local ns1display ok !test ; onehaltSee also
Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.