cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar

Need help with getting multiple user entered values

Hi,

I am trying to get three user entries that are numeric using the <<Get command on the variables when "OK" button is clicked. Need these 3 values to further open CSV files as the user wants.

 

However, if I use the <<Get on 3 variables, only the first one is available in the rest of the code. Other 2 variables are not stored. Would it be possible to guide me to figure out what I am doing wrong?

win = New Window( "Test Plan Details",
	<<Modal,
	<<Size Window( 550, 150 ),
	<<Return Result,
	H List Box(
		Text Box( "Enter the row# corresponding to the column names" ),
		col_start_row = Number Edit Box()
	),
	<<set width( 250 ),
	H List Box( Text Box( "Enter the row# of the first test" ), test_start_row = Number Edit Box() ),
	<<set width( 250 ),
	H List Box( Text Box( "Enter the row# of the last test" ), col_end_row = Number Edit Box() ),
	<<set width( 250 ),
	H List Box(
		Button Box( "OK",
			Wait( 0 );
			z = col_end_row << get;,
			y = test_start_row << get,
			x = col_start_row << Get,
			win << close window
		),
		Button Box( "Cancel", win << close window )
	)
);
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Need help with getting multiple user entered values

I just realized I had used comma instead of semi colon. Fixed it, thanks!

View solution in original post

1 REPLY 1

Re: Need help with getting multiple user entered values

I just realized I had used comma instead of semi colon. Fixed it, thanks!