For the latest version of JMP Help, visit JMP.com/help.

Scripting Guide > JSL Building Blocks > Rules for Name Resolution > Variable Names Used as Arguments
Publication date: 09/28/2021

Variable Names Used as Arguments

Message arguments are evaluated as a rule. In previous versions of JMP, some messages interpreted a variable name as a string value. For example, the following script results in a linear scale in the current version of JMP and a log scale in JMP 11.

Log = "Linear";
axis box << Scale( Log );

The syntax Scale( "Log" ) is preferred for setting a string literal. To catch ambiguous instances, set the “Allow Unquoted Strings in JSL” General preference to “Yes (with a warning)” or “No”.

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