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 707<br />

Utility Functions<br />

Returns<br />

A list of preference settings.<br />

Argument<br />

preference_name Optional. If no preference is specified, all preferences are returned. Otherwise, the<br />

settings for the specified preference are returned.<br />

Notes<br />

The preferences for the following areas are not accessible in JSL: Text Data Files, Windows Specific, Mac<br />

OS Settings, Fonts, Communications, File Locations, Script Editor, <strong>SAS</strong> Integration, and JMP Updates.<br />

Get Project()<br />

Description<br />

Retrieves either the first project listed in the Project window or the project named.<br />

Returns<br />

The project.<br />

Argument<br />

name An optional project name as a quoted string.<br />

Get Project List()<br />

Description<br />

Returns a list of all open projects.<br />

Returns<br />

A list quoted strings that each contains the name of a project. If no projects are open, the list is empty.<br />

Glue(expr1, expr2, ...)<br />

expr1; expr2<br />

Description<br />

Evaluates each argument in turn.<br />

Returns<br />

The result of the last argument evaluated.<br />

Arguments<br />

One or more valid JSL expressions.<br />

Note<br />

A semicolon placed between expressions is the more commonly used form for Glue().<br />

Head(exprArg)<br />

Head Expr(exprArg)<br />

Description<br />

Returns the head of the evaluated expression, without its arguments.<br />

Note<br />

Head Expr() is deprecated. Use Head() instead.

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

Saved successfully!

Ooh no, something went wrong!