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.

582 JSL Syntax Reference Appendix A<br />

Comparison Functions<br />

Notes<br />

You can over-ride this comment when opening the file. Select File > Open. Hold the CTRL key while<br />

you select the JSL file and click Open. Or right-click the file in the Home Window Recent Files list and<br />

select Edit Script. The script opens into a script window instead of being executed.<br />

/*debug step*/<br />

/*debug run*/<br />

Description<br />

If placed on the first line of a script, the script is opened into the debugger when it is run.<br />

Notes<br />

All letters must be lower case. There must be one space between debug and step or run, and there must<br />

be no other spaces present. Only one of these lines can be used, and it must be the first line of the script;<br />

a first line that is blank followed by this comment negates the debug command.<br />

Comparison Functions<br />

The comparison operators (=) work for numbers, strings, and matrices. For matrices, they<br />

produce a matrix of results. If you compare mixed arguments, such as strings with numbers or matrices, the<br />

result is a missing value. Comparisons involving lists are not allowed and also return missing values.<br />

The equality operators (== and !=) work for numbers, strings, matrices, and lists. For matrices, they<br />

produce a matrix of results; for lists, they produce a single result. If you test equality of mixed results (for<br />

example. strings with numbers or matrices) the result is 0 or unequal.<br />

Range check operators let you check whether something falls between two specified values:<br />

a=1;show(1

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

Saved successfully!

Ooh no, something went wrong!