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.

Chapter 15 Creating and Sharing Applications 509<br />

Application Builder<br />

Table 15.1 Application Builder Terms<br />

Application<br />

Module<br />

Instant Application<br />

Custom Application<br />

Objects and Messages<br />

Module Instance<br />

Namespace<br />

Variable<br />

Container<br />

The top-level file that consists of one or more modules.<br />

A collection of objects, messages, instances, and other JSL<br />

statements that are compiled into an application to create new<br />

JMP features.<br />

An application that typically consists of reports and does not<br />

require JSL scripting.<br />

An application that demonstrates custom behavior through JSL<br />

scripting.<br />

An object is a dynamic entity in JMP, such as a data table, a data<br />

column, a platform results window, a graph, and so on. Most<br />

objects can receive messages that instruct the object to perform<br />

some action on itself.<br />

A message is a JSL statement that is directed to an object. That<br />

object knows how to evaluate the message.<br />

The occurrence of a module in the application. In a complex<br />

application, you might create a start-up script that creates<br />

multiple instances of one or more modules.<br />

A collection of unique variable names and corresponding values<br />

that prevents collisions among scripts.<br />

JMP creates the Application namespace and the<br />

ModuleInstance namespace automatically. Symbols in the<br />

Application namespace are visible only to scripts in the<br />

application; the namespace is not available to scripts not created<br />

in the application. For more information about namespaces, see<br />

“Advanced Scoping and Namespaces” on page 198 in the<br />

“Programming Methods” chapter.<br />

A unique name to which you assign a value. JMP creates the<br />

thisApplication and thisModuleInstance variables<br />

automatically.<br />

• The thisApplication variable (used in the<br />

Application namespace) contains module names, which<br />

are available in any script in the application.<br />

• The thisModuleInstance variable (used in the<br />

ModuleInstance namespace) contains box and script<br />

names, which are valid only in their own modules.<br />

A display box object (such as a tab or outline) into which you<br />

drag other objects.

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

Saved successfully!

Ooh no, something went wrong!