14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix A JSL Syntax Reference 605<br />

Display<br />

If Box(Boolean, display boxes)<br />

Description<br />

Constructs a display box whose contents are conditionally displayed.<br />

Arguments<br />

Boolean 1 displays the display boxes inside the If Box, does not display them.<br />

display boxes Any display box tree.<br />

Note<br />

If you use a variable to contain the Boolean argument, you can display and remove the display box<br />

arguments merely by changing the variable’s value.<br />

Journal Box("Journal Text")<br />

Description<br />

Constructs a display box that displays the quoted string journal box. We recommend that you do not<br />

generate the journal text by hand.<br />

Lineup Box(, , display boxes, ...)<br />

Description<br />

Constructs a display box to show an alignment of boxes in n columns.<br />

List Box(("item", ...), , , ,<br />

)<br />

Description<br />

Creates a display box to show a list box of selection items. The argument can be a list of two-item lists<br />

containing the item name and a string that specifies the modeling type or sorting order. The icon<br />

appears next to the corresponding item in the list box.<br />

Matrix Box(matrix)<br />

Description<br />

Displays the matrix given in the usual array form.<br />

MouseBox(displayBoxArgs, messages)<br />

Description<br />

Returns a box that can make JSL callbacks for dragging and dropping or clicking and tracking mouse<br />

actions.<br />

Arguments<br />

displayBoxArgs Specifies the object that the user interacts with, such as a Text Box or Button Box.<br />

New Window("title", display box tree)<br />

Description<br />

Makes a new window with the indicated title (a required argument) and a display box tree.

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

Saved successfully!

Ooh no, something went wrong!