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.
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 to enter the code. It really helps the readability for the Community Members.
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 to enter the code. It really helps the readability for the Community Members.
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!