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.

696 JSL Syntax Reference Appendix A<br />

Utility Functions<br />

Column Dialog(ColList("rolename"), specifications)<br />

Description<br />

Draws a dialog box for column role assignments.<br />

Returns<br />

A list of commands that were sent and the button that was clicked.<br />

Arguments<br />

ColList Specifies the name of at list one list to add variables to.<br />

specifications Any additional Dialog items (for example, Max Col, Datatype).<br />

Column Name(n)<br />

Description<br />

Determines the name of the column specified by number.<br />

Returns<br />

The name of the n th column as an expression (not a string).<br />

Argument<br />

n The number of a column.<br />

Concat To(a, b)<br />

a||=b<br />

Description<br />

Appends the string b to the string a and places the new concatenated string into a.<br />

Returns<br />

A string composed of the string a directly followed by the string b.<br />

Arguments<br />

Two or more strings or string variables. The first must be a variable whose value can be changed.<br />

Notes<br />

More than two arguments can be strung together. Each additional string is appended to the end, in left<br />

to right order. This function also works with matrices as the arguments.<br />

Example<br />

a="Hello"; b=" "; c="World"; ConcatTo(a, b, c); Show(a);<br />

a = "Hello World"<br />

Convert File Path(path, , , )<br />

Description<br />

Converts a file path according to the arguments.<br />

Returns<br />

The converted path.<br />

Arguments<br />

path A pathname that can be either Windows or POSIX.

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

Saved successfully!

Ooh no, something went wrong!