该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


y = 10;
Y < 20, X = Y,
Open( "$SAMPLE_DATA/Big Class.jmp" );
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();
注意: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:
New Window( "\!"Hello\!" is a quoted string.",
Text Box( Char( Repeat( "*", 70 ) ) )
inserts line breaking characters appropriate for the host environment1

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.
jslPhrase = "The JSL to do this is :\[