cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • 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.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
Choose Language Hide Translation Bar

namespaces and classes should respect hidden variables

I think it'd be swell if namespaces and classes (really everything) allowed hidden variables.  Currently if I put a hidden/private variable in a class or namespace and show namespaces or classes, it's visible. 

 

delete symbols();
ns = New Namespace(
	"some space",
	{
		__test = 14 ; a = 12 ; __test2 = 14 ;
	}
);

c = Define Class(
	"Test",  
	{
		a = 0;
		b = 0;
		_init_ = Method({a, b}, 
			a = a;
			b = b;
		);
		nObs = 20 ; 
		addition = Method( {x, y},
			(x + y) * nObs
		); 
		append = Method( {a, b},
			Char( a ) || " + " || Char( b )
		);
		__private = 22;
	}
);

__test = 14;
Show Symbols();
show namespaces();
show classes();
1 Comment
Ryan_Gilmore
Community Manager
Status changed to: Archived
We are archiving this request. If this is still important please comment with additional details and we will reopen. Thank you!