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

x = Column( "height" );
x[3] = 64 // sets the third row of height to 64
Note: The current row in a JSL script is not determined by selecting rows or positioning your cursor in the row. The current row is defined to be zero (no row) by default. You can set a current row with Row() (for example, Row() = 3). Please note that such a setting only lasts for the duration of that script. Then, Row() reverts to its default value, zero. This behavior means that submitting a script all at once can produce different results than submitting a script a few lines at a time.
Another way to establish a current row for a script is to enclose it in For Each Row(). This method executes the script once for each row of the current data table. For an example, see If. See Data Tables topic for more information about working with data tables.
dataTable:colName[i]
(dataTable:colName)[i]

Help created on 3/19/2020