Hello fellow JSL scripters,
I'm trying to use an ampersand in a Text Box() call while also using the <
As an example, here's some JSL that I thought should work, but doesn't.
w = New Window( "Formatted Text",
Text Box( "This is <B>bold</B> text. This is <B><I>bold italic</I></B> text, & this is <U>underlined</U> text.",
<<MARKUP></MARKUP>
Instead, I get this as the output and an error in the log:

Warning: unterminated entity "&" encountered. -- Turning off markup flag -- This is bold text. This is bold italic text & is underlined text.
DisplayBox[EvalContextBox]
I would have thought this would be easy to find a solution to, but JMP Help, Scripting Index, Scripting Guide, and searches don't really talk about this specific issue. I did try the HTML tag &, and it doesn't work.
Thanks for any help!,
DS
I just found it by looking at the source code for my posting and saw that I wasn't using the & tag correct, it should be: & with the semicolon at the end. It works now.
Hope this helps others,
DS