cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
Choose Language Hide Translation Bar

include() syntax errors give file name

If I am including a script

include("child.jsl")

and the child has an error in it 

x = aaa;

I get a nice error output

Name Unresolved: aaa in access or evaluation of 'aaa' , aaa/*###*/

at line 6 in some\path\child.jsl

But if the error is a syntax error

x = {"f", "d", }; // has an extra comma

then I don't get the information of where the error is located

Unexpected "}".
Trying to parse operand for "List" operator.
Line 5 Column 16: x = {"f", "d", ►};

I think it would be great if it told the file that is causing the error like a code error does.  

 

This  becomes even more apparently a problem if the include is 

x = {
	"f", 
	"d", 
};

Because then I get a very vague error message

Unexpected "}".
Trying to parse operand for "List" operator.
Line 8 Column 1: ►};
1 Comment
Sarah-Sylvestre
Level V
Status changed to: Acknowledged

Hi @vince_faller, thank you for your suggestion! We have captured your request and will take it under consideration.