Your attempt to reference the data table in your display window is not the correct syntax. All functions and messages that are available for a data table are listed in the the Scripting Index under the the Data Table subsection
Help==>Scripting Index==>Data Table
The correct syntax to use is:
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
rep = dt << report
win =
New Window( "Example",
V List Box(
dt << new data box(),
A = Oneway(
Y( :height ),
X( :sex ),
Means( 1 ),
Mean Diamonds( 1 )
)
)
);
I also strongly suggest that you read the first 3 chapters of the Scripting Guide. It will speed up your learning of JSL
Help==>Books==>Scripting Guide
Jim