cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • 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
TheWho80
Level I

Error on "Update Properties ( 1 )" using JMP 15 - script is coded in JMP16

HI, 

Im new to JMP and do have a script was coded in JMP 16 but having error on JMP15 on this line during recode.

is this expected? can this be comment out when running on JMP15?

 

Update Properties( 1 ),

 

 

Thanks alot.

 

1 ACCEPTED SOLUTION

Accepted Solutions
David_Burnham
Super User (Alumni)

Re: Error on "Update Properties ( 1 )" using JMP 15 - script is coded in JMP16

// sample data

dt = Open( "$SAMPLE_DATA/Consumer Preferences.jmp" );
col = New Column( :Gender );

// get JMP version as a number

jmpVersionNumber = num(words(JMPVersion(),".")[1]);

// don't use  'update properties' before v16

if (jmpVersionNumber>=16,

	dt << Recode Column(
		:Gender,
		{if(
			_rcNow == 1, 0,
			1,
		)},
		Update Properties( 1 ),
		Target Column( col )
	)
	
, // else

	dt << Recode Column(
		:Gender,
		{if(
			_rcNow == 1, 0,
			1,
		)},
		Target Column( col )
	)
	
);
-Dave

View solution in original post

2 REPLIES 2
David_Burnham
Super User (Alumni)

Re: Error on "Update Properties ( 1 )" using JMP 15 - script is coded in JMP16

// sample data

dt = Open( "$SAMPLE_DATA/Consumer Preferences.jmp" );
col = New Column( :Gender );

// get JMP version as a number

jmpVersionNumber = num(words(JMPVersion(),".")[1]);

// don't use  'update properties' before v16

if (jmpVersionNumber>=16,

	dt << Recode Column(
		:Gender,
		{if(
			_rcNow == 1, 0,
			1,
		)},
		Update Properties( 1 ),
		Target Column( col )
	)
	
, // else

	dt << Recode Column(
		:Gender,
		{if(
			_rcNow == 1, 0,
			1,
		)},
		Target Column( col )
	)
	
);
-Dave
TheWho80
Level I

Re: Error on "Update Properties ( 1 )" using JMP 15 - script is coded in JMP16

Thanks Dave, looks like "Update Properties" is not a requirement in older JMP version

Recommended Articles