14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

724 JSL Syntax Reference Appendix A<br />

Utility Functions<br />

Arguments<br />

unique_id A quoted string that contains the unique identifier for the add-in. The string can contain<br />

up to 64 characters. The string must begin with a letter and contain only letters, numbers, periods,<br />

and underscores. Reverse-DNS names are recommended to increase the likelihood of uniqueness.<br />

home_folder A quoted string that contains the filepath for the folder containing the add-in files.<br />

The filepath must conform to the valid pathname requirement for the host operating system.<br />

FriendlyName( "friendly name" ) An optional, quoted string that contains a name that can be<br />

displayed in the JMP user interface wherever add-in names are displayed, instead of the unique ID.<br />

JMPVersion("version") An optional string that contains a specific version of JMP. The default<br />

value is "All", which enables the add-in to be loaded and run in any version of JMP that supports<br />

add-ins. "Current" restricts the use of the add-in to only the current version. Any quoted version<br />

number (for example, "7" or "9") restricts the add-in to a single specific version of JMP.<br />

LoadsAtStartup(Boolean) An optional Boolean. The default value is True (1), which causes the<br />

add-in to be loaded when JMP is started. If the value is False (0), the add-in is not loaded<br />

automatically.<br />

LoadNow(Boolean) Loads the add-in immediately.<br />

Note<br />

If a file named addin.def is found in the specified home folder, values from that file are used for any<br />

optional parameters that are not included in the Register Addin() function.<br />

Revert Menu()<br />

Description<br />

Resets your JMP menus to factory defaults.<br />

Save Log(pathname)<br />

Description<br />

Writes the contents of the log to the specified file location.<br />

Save Text File(path, text)<br />

Description<br />

Saves the JSL variable text into the file specified by path.<br />

SbInv(z, gamma, delta, theta, sigma)<br />

Description<br />

Johnson Sb inverse transformation. If argument is normal, the result is Johnson Sb.<br />

SbTrans(x, gamma, delta, theta, sigma)<br />

Description<br />

Johnson Sb transformation from a doubly bound variable to a standard normal (0, 1) distribution.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!