cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

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.