cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

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