Scripting Guide > JSL Building Blocks > Rules for Name Resolution
发布日期: 08/07/2020

Rules for Name Resolution

In JMP, 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.

需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).