Parentheses also mark the end of a function name, even when arguments are not needed. For example, the Pi function has no arguments. However, the parentheses are required so that JMP can identify Pi as a function.
Pi();
Note: Be careful that parentheses match. Every ( needs a ), or errors result.
The semicolon is equivalent to the Glue() function. See Operators for more information about semicolons and Glue().
To have double quotes inside a quoted string, precede each quotation mark with the escape sequence \! (backslash-bang). For example, run the following script and look at the title of the window:

1

Sometimes, long passages require a lot of escaped characters. In these cases, use the notation \[...]\ and everything between the brackets does not need or support escape sequences. Here is an example where \[...]\ is used inside a double-quoted string.
Commands and functions have names, too. In the expression Log( 4 ), Log is the name of the logarithmic function.
Names must start with an alphabetic character or underscore and can continue with the following:
You can still have a name that is any other sequence of characters. If the name does not follow the rules above, it needs to be quoted and placed inside a special parser directive called Name(). For example, to use a global variable with the name taxable income(2011), you must use Name() every time the variable appears in a script:
Name() is harmless when it is not needed. For example, tax and Name("tax") are equivalent.
Comments are notes in the code that are ignored by the JSL processor (or parser). You include comments to describe sections of the script. Comments are also convenient for removing portions of a script temporarily. For example, you can insert comment symbols around code that might be causing an error and then rerun the script.
Type the comment symbols around code that you want to comment. The following example shows code commented with /* */ in the middle of a line. When the script is run, JMP considers both expressions to be identical.
Comment Symbols describes the comment symbols.
Add //! to the first line of the script, and the script runs automatically when opened in JMP. (In other words, the script editor does not open.)