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

a = 2;
b = 3;
The Glue() function returns the result of the last expression. This function is equivalent to using semicolons. The following expressions both return 3:
Glue( a = 2, b = 3 );
a = 2; b = 3;
The First() function also evaluates each argument sequentially but returns the result of the first expression. The following expression returns 2:
First( a = 2, b = 3);
What does First() do in the following script?
x = 1000;
First( x, x = 2000 );
The First() function returns the value of x (1000). 2000 is then assigned to x.

Help created on 3/19/2020