Here is a simple example of repeating over a data table, 2 columns at a time
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );
colNamesList = dt << get column names( continuous, string );
For( i = 1, i <= N Items( colNamesList ), i = i + 2,
Bivariate(
Y( colNamesList[i] ),
X( colNamesList[i + 1] ),
Fit Line( {Line Color( "Medium Dark Red" )} )
)
);
Jim