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!
  • See how to use the JMP Marketplace – Free tools to expand JMP capabilities. Register. July 10, 2 pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
mat-ski
Level III

Getting Host information

In the documentation I see that you can use

 

If( Host is( "Mac" ), ... );

To do something conditionally if the current Host is a Mac, however I do not see any way to get the value of Host and my blind guessing (Host doesn't seem to be accessible on its own and Host Is() without any arguments does not work) has not yet turned anything up. Is there a way for me to access this value?

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Getting Host information

You can set your own Host value

Names Default To Here( 1 );
If( Host is( "Mac" ),
	Host="Mac",Host="Windows"
);
Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Getting Host information

You can set your own Host value

Names Default To Here( 1 );
If( Host is( "Mac" ),
	Host="Mac",Host="Windows"
);
Jim
mat-ski
Level III

Re: Getting Host information

Oh I see thanks, I didn't realize there were only "Mac"/"Windows" and "Bits32"/"Bits64" to check here.

Recommended Articles