cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
TONYMA
Level III

V list box and H list box

dear all

 

i want  to run JSL to put data table and oneway into one report, but it does not work

the jsl which i wrote as below:  

 

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
rep=dt<<report
win=New Window( "Example",
  V List Box(rep="$SAMPLE_DATA/Big Class.jmp",
  A=Oneway( Y( :height ), X( :sex ), Means( 1 ), Mean Diamonds( 1 ) ); ));

 

where is my wrong?

 

 

 

 

you are your god.
1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: V list box and H list box

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

View solution in original post

1 REPLY 1
txnelson
Super User

Re: V list box and H list box

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

Recommended Articles