cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • See how to design an experiment, explore factor-response relationships, assess tradeoffs, and ID best settings. Register for Sep. 11 Mastering JMP.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
BooBee
Level III

New to JMP and JSL - Unexpected ",". Perhaps there is a missing ")".

Hi all,

 

I'm new to JMP and JSL. I'm following a basic tutorial on JSL and followed the instructions to the T on copying the following script. It should create a new window with the text "Hello" inside it:

 

title = "JSL Demo";

content = Text Box("Hello");

New window = ( title, content )

 

But upon running it, the follow error came up:

 

Unexpected ",". Perhaps there is a missing ")".

Trying to parse operand for "=" operator.

Line 3 Column 21: New window = ( title►, content )

 

I couldn't figure out what is wrong with the script.

 

Can anybody please help to point that out?

 

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: New to JMP and JSL - Unexpected ",". Perhaps there is a missing ")".

New Window us a function.  The "=" is what is making the JSL fail.  It needs to be:

title = "JSL Demo";

content = Text Box("Hello");

New window( title, content )

Also, when you include JSL within a Discussion, please use the JSL icon txnelson_0-1699415730805.pngtxnelson_0-1699415730805.pngto enter the code.  It really helps the readability for the Community Members.

 

Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: New to JMP and JSL - Unexpected ",". Perhaps there is a missing ")".

New Window us a function.  The "=" is what is making the JSL fail.  It needs to be:

title = "JSL Demo";

content = Text Box("Hello");

New window( title, content )

Also, when you include JSL within a Discussion, please use the JSL icon txnelson_0-1699415730805.pngtxnelson_0-1699415730805.pngto enter the code.  It really helps the readability for the Community Members.

 

Jim
BooBee
Level III

Re: New to JMP and JSL - Unexpected ",". Perhaps there is a missing ")".

Hi Jim,

 

Thanks for your reply!

 

Well noted on using the JSL icon to enter the code. I did note my code appeared differently from other posts. Now I know!

 

Recommended Articles