Scripting Guide > JSL Building Blocks > Rules for Name Resolution
Publication date: 07/08/2024

Rules for Name Resolution

In JSL, you identify the following types of objects by a name:

Columns and table variables in a data table

Global variables, which hold values for the remainder of a JMP session

Scriptable object types

Arguments and local variables inside formulas

Most of the time, you can just use an object’s name directly to refer to the object. Consider the following example:

ratio = height / weight;

Depending on the complexity of your script, it might be obvious that ratio is a variable and height and weight are data table column names. But what if the meanings are ambiguous? A script might use ratio as a global variable and as column names.

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