3213_en-US
Greek Letters and Math Symbols in JSLI'm curious how I might be able to print greek letters and math symbols via JSL output. I'm writing a script and would like the output to be formated more elegantly. The Scripting Guide says that JMP has support for it, but provides no details on how to call the letters. I have tried passing Unicode characters (both HTML versions i.e. α and hexadecimal versions 03B1) and XML entries from SAS to no avail. I've been doing this inside quotations, i.e., "03B1 = 0.05" and outside, i.e., Concat(03B1," = 0.05"). Yet, no dice.
Does anyone know how to do this? Thank you!Re: Greek Letters and Math Symbols in JSLIt looks as though anything I paste into my script from the Arial font in my Windows Character Map appears as it should within a graph box and/or text in a text box - does this work for you also?
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
style="font-size: 9pt; font-family: "Courier New"; color: black;">SpecialChars
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: purple;">"©¼ßåƣάέαβγδεζηθΣΦЖϢ۞ݜڭ⅓⅔≤≥☺▒"
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">tb
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">textbox
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: black;">SpecialChars
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
font color(
style="font-size: 9pt; font-family: "Courier New"; color: purple;">"blue"
style="font-size: 9pt; font-family: "Courier New"; color: black;">)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
set font size(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">12
style="font-size: 9pt; font-family: "Courier New"; color: black;">))
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">gb
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">graph
box
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: black;">FrameSize(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">500
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: teal;">300
style="font-size: 9pt; font-family: "Courier New"; color: black;">)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">XScale
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">0
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: teal;">10
style="font-size: 9pt; font-family: "Courier New"; color: black;">)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">YScale
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">0
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: teal;">10
style="font-size: 9pt; font-family: "Courier New"; color: black;">)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">text
size
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">18
style="font-size: 9pt; font-family: "Courier New"; color: black;">)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">text
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: black;">Center
Justified
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
{
style="font-size: 9pt; font-family: "Courier New"; color: teal;">5
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: teal;">5
style="font-size: 9pt; font-family: "Courier New"; color: black;">}
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
SpecialChars)
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">gb[axisbox(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">2
style="font-size: 9pt; font-family: "Courier New"; color: black;">)]
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 9pt; font-family: "Courier New"; color: black;">
delete
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">gb[axisbox(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">1
style="font-size: 9pt; font-family: "Courier New"; color: black;">)]
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 9pt; font-family: "Courier New"; color: black;">
delete
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">nw
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">new
window
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: purple;">"Characters"
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">VListBox
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: black;">tb
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
gb))
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; line-height: 115%; font-family: "Courier New"; color: green;">//
End of program;Re: Greek Letters and Math Symbols in JSLPS: I've been having a play with this: it looks as though most things work with anything found in the Windows Character Map, including tool tips, which will recognize line feeds and act on them. Some of the tools themselves ignore them in JMP 8, but recognize them in JMP 9:
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
style="font-size: 9pt; font-family: "Courier New"; color: black;">ListChars
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
{
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
style="font-size: 9pt; font-family: "Courier New"; color: purple;">"©¼ßåέαδεζηθ\!rΣΦЖݜ⅔≤≥☺▒"
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: purple;">"Accents
áãçéëñôö"
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: purple;">"Digraphs
ʣʤʥʦʧʨʩʪʫ"
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
style="font-size: 9pt; font-family: "Courier New"; color: purple;">"Greek/Math
αβγδεζη"
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: purple;">"Cyrillic
ЙКЛМНОПРЖ"
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: purple;">"Coptic
ϣϤϥϦϧϨϩϪ"
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
style="font-size: 9pt; font-family: "Courier New"; color: purple;">"Arabic
ڡڤڶںھٷٺڀڂڇ"
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: purple;">"Boxes
╔╕╖╗╘╛╞╠╢"
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
}
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: green;">//
ListChars[1] has a line feed
between θ and Σ;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">ShowChars
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
ListChars[
style="font-size: 9pt; font-family: "Courier New"; color: teal;">1
style="font-size: 9pt; font-family: "Courier New"; color: black;">]
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">gb
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">graph
box
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: black;">FrameSize(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">350
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: teal;">50
style="font-size: 9pt; font-family: "Courier New"; color: black;">)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">XScale
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">0
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: teal;">10
style="font-size: 9pt; font-family: "Courier New"; color: black;">)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">YScale
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">0
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: teal;">10
style="font-size: 9pt; font-family: "Courier New"; color: black;">)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">text
size
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">18
style="font-size: 9pt; font-family: "Courier New"; color: black;">)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">text
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: black;">Center
Justified
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
{
style="font-size: 9pt; font-family: "Courier New"; color: teal;">5
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: teal;">3.5
style="font-size: 9pt; font-family: "Courier New"; color: black;">}
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
ShowChars)
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="">
)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">gb[axisbox(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">2
style="font-size: 9pt; font-family: "Courier New"; color: black;">)]
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 9pt; font-family: "Courier New"; color: black;">
delete
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">gb[axisbox(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">1
style="font-size: 9pt; font-family: "Courier New"; color: black;">)]
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 9pt; font-family: "Courier New"; color: black;">
delete
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">tb
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">textbox
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: black;">ListChars[
style="font-size: 9pt; font-family: "Courier New"; color: teal;">1
style="font-size: 9pt; font-family: "Courier New"; color: black;">]
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
font color(
style="font-size: 9pt; font-family: "Courier New"; color: purple;">"blue"
style="font-size: 9pt; font-family: "Courier New"; color: black;">)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
set font size(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">12
style="font-size: 9pt; font-family: "Courier New"; color: black;">))
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">lb
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">list
box
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: black;">ListChars
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
ShowChars
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
(lb
style="font-size: 9pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 9pt; font-family: "Courier New"; color: black;">
get selected)[
style="font-size: 9pt; font-family: "Courier New"; color: teal;">1
style="font-size: 9pt; font-family: "Courier New"; color: black;">]
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
gb
style="font-size: 9pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 9pt; font-family: "Courier New"; color: black;">
reshow)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: green;">//
Put tool tips on the following;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">bb
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">button
box
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: black;">ListChars[
style="font-size: 9pt; font-family: "Courier New"; color: teal;">2
style="font-size: 9pt; font-family: "Courier New"; color: black;">]
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
ShowChars
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
ListChars[
style="font-size: 9pt; font-family: "Courier New"; color: teal;">2
style="font-size: 9pt; font-family: "Courier New"; color: black;">]
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
gb
style="font-size: 9pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 9pt; font-family: "Courier New"; color: black;">
reshow
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 9pt; font-family: "Courier New"; color: black;">
set tip(ListChars[
style="font-size: 9pt; font-family: "Courier New"; color: teal;">1
style="font-size: 9pt; font-family: "Courier New"; color: black;">]))
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">rb
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">radio
box
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: black;">ListChars
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
ShowChars
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
rb
style="font-size: 9pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 9pt; font-family: "Courier New"; color: black;">
get selected
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
gb
style="font-size: 9pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 9pt; font-family: "Courier New"; color: black;">
reshow
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 9pt; font-family: "Courier New"; color: black;">
set tip(ListChars[
style="font-size: 9pt; font-family: "Courier New"; color: teal;">1
style="font-size: 9pt; font-family: "Courier New"; color: black;">]))
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">rb
style="font-size: 9pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 9pt; font-family: "Courier New"; color: black;">
set(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">1
style="font-size: 9pt; font-family: "Courier New"; color: black;">)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
lb
style="font-size: 9pt; font-family: "Courier New"; color: navy;"><<
style="font-size: 9pt; font-family: "Courier New"; color: black;">
set selected(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">1
style="font-size: 9pt; font-family: "Courier New"; color: black;">)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: green;">//
Initialize;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">nw
style="font-size: 9pt; font-family: "Courier New"; color: navy;">=
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">new
window
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: purple;">"Characters"
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">LineUpBox
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">ncol
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: teal;">1
style="font-size: 9pt; font-family: "Courier New"; color: black;">)
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
gb
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
tb
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
bb
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 0, 221);">HlistBox
style="font-size: 9pt; font-family: "Courier New"; color: black;">(
style="font-size: 9pt; font-family: "Courier New"; color: black;">rb
style="font-size: 9pt; font-family: "Courier New"; color: navy;">,
style="font-size: 9pt; font-family: "Courier New"; color: black;">
lb)))
style="font-size: 9pt; font-family: "Courier New"; color: navy;">;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: green;">//
The line feed doesn't show up
on the chart or the various tools, but still works in the tool tips;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: green;">//
End of program;
style="font-size: 9pt; font-family: "Courier New"; color: black;">
style="font-size: 9pt; font-family: "Courier New"; color: black;">
Re: Greek Letters and Math Symbols in JSLNice:
He is another example:
(would be much prettier if someone could show me how to use a counter to loop over this list!)
Comments
There are no comments yet