Scripting Guide > Scripting Tools > Work with the Script Editor > Errors Are Marked by Special Characters
发布日期: 09/18/2023

Errors Are Marked by Special Characters

After you run a script, the /*###*/ characters in the log indicate the location of an error in the script execution. The following example shows a script in which the height column name is misspelled.

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt:heihgt[3]; // misspelled column name

After you run the script, the log reads:

Scoped data table access requires a data table column or variable in access or evaluation of 'dt:heihgt' , dt:heihgt/*###*/
In the following script, error marked by /*###*/
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt:heihgt/*###*/[3];

/*###*/ directly follows the misspelled height argument.

需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).