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.

Appendix A JSL Syntax Reference 705<br />

Utility Functions<br />

Get Current Directory()<br />

Description<br />

Retrieves the current directory, which is used in the Open File window.<br />

Returns<br />

The absolute pathname as a string.<br />

Arguments<br />

none<br />

Get Default Directory()<br />

Description<br />

Retrieves the JMP default directory, which is used as a base for subsequent relative paths.<br />

Returns<br />

The absolute pathname as a string.<br />

Arguments<br />

none<br />

Get Environment Variable("variable")<br />

Description<br />

Retrieves the value of an operating system environment variable.<br />

Returns<br />

A string that contains the value of the specified environment variable. If the specified variable is not<br />

found, an empty string is returned.<br />

Arguments<br />

"variable" A string that contains the name of an environment variable.<br />

Notes<br />

On Macintosh, environment variable names are case-sensitive. On Windows, the names are<br />

case-insensitive.<br />

Get File Search Path()<br />

Description<br />

Retrieves the current list of directories to search for opening files.<br />

Returns<br />

A list of pathnames as strings.<br />

Get Log()<br />

Description<br />

Returns a list of lines from the log.<br />

Returns<br />

A list of strings. Each string contains one line from the log.

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

Saved successfully!

Ooh no, something went wrong!