cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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!

Recommended Articles