cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Due to the recently reported Microsoft outage, users may be temporarily unable to access My JMP or experience a delay receiving their verification codes. If you have previously installed JMP on your computer, this outage should not impact your ability to access the software. My JMP services will be restored as soon as Microsoft resolves this issue.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

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