14.03.2014 Views

Scripting Guide - JMP

Scripting Guide - JMP

Scripting Guide - JMP

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.

4 Introducing JSL Chapter 1<br />

Hello, World<br />

Figure 1.2 Running a Script<br />

The result is shown in the Log window. Besides showing results and errors, this window is also a script<br />

editor.<br />

Figure 1.3 The <strong>JMP</strong> Log<br />

This is how you enter and submit JSL. You have just created a global variable, A, assigned a value to it,<br />

and shown its value. Notice that the log echoes your script first, and then echoes any results—in this<br />

case, the output for the Show(A) command.<br />

Go To Line<br />

As your scripts grow in size, it is handy to jump to specific lines in the script. Use the Go To Line<br />

command from the Edit menu to jump to a specific line.<br />

This command is also useful during the debugging process, since error messages frequently mention the<br />

line of the script where the error occurred.

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

Saved successfully!

Ooh no, something went wrong!