cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-42309%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EC%2B%2B%20%E7%A8%8B%E5%BA%8F%E5%91%98%20JSL%20%E6%8C%87%E5%8D%97%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-42309%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CDIV%20class%3D%22lia-message-template-problem-zone%22%3E%0A%3CH2%20id%3D%22toc-hId--1330512802%22%20id%3D%22toc-hId-1624477158%22%20id%3D%22toc-hId-1624477158%22%3E%E9%97%AE%E9%A2%98%3C%2FH2%3E%0A%3CP%3E%E6%82%A8%E4%BA%86%E8%A7%A3%E4%B8%80%E4%BA%9B%20C%2B%2B%20%E5%B9%B6%E4%BA%86%E8%A7%A3%E4%BB%80%E4%B9%88%E6%98%AF%20C%2B%2B%20%E5%AF%B9%E8%B1%A1%EF%BC%8C%E5%B9%B6%E4%B8%94%E9%9C%80%E8%A6%81%2020%20%E5%88%86%E9%92%9F%E7%9A%84%E6%97%B6%E9%97%B4%E4%BB%8B%E7%BB%8D%20JMP%20%E7%9A%84%E8%84%9A%E6%9C%AC%E8%AF%AD%E8%A8%80%E3%80%82%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--443009121%22%20id%3D%22toc-hId--927679803%22%20id%3D%22toc-hId--927679803%22%3E%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3E%E5%B8%AE%E5%8A%A9%E8%8F%9C%E5%8D%95%E4%B8%8A%E6%9C%89%E4%B8%80%E4%B8%AA%20JMP%20%E8%84%9A%E6%9C%AC%E7%B4%A2%E5%BC%95%E3%80%82%20%E5%AE%83%E4%B8%80%E8%B5%B7%E6%88%96%E5%8D%95%E7%8B%AC%E6%8F%8F%E8%BF%B0%E5%87%BD%E6%95%B0%E3%80%81%E6%98%BE%E7%A4%BA%E6%A1%86%E5%92%8C%E5%AF%B9%E8%B1%A1%E3%80%82%20%E5%BD%93%E6%82%A8%E6%B7%B1%E5%85%A5%E6%8C%96%E6%8E%98%E6%97%B6%EF%BC%8C%E8%AF%B7%E4%BD%BF%E7%94%A8%E5%AE%83%E6%8F%90%E4%BE%9B%E7%9A%84%E6%90%9C%E7%B4%A2%E3%80%82%3C%2FLI%3E%0A%3CLI%3EJSL%20%E6%B2%A1%E6%9C%89%E7%B1%BB%E5%9E%8B%E5%8F%98%E9%87%8F%EF%BC%9B%E6%97%A0%E6%B3%95%E5%A3%B0%E6%98%8E%20double%E3%80%81float%E3%80%81int%20%E6%88%96%20bool%E3%80%82%20JSL%20%E5%8F%98%E9%87%8F%E5%8C%85%E5%90%AB%E5%88%86%E9%85%8D%E7%BB%99%E5%AE%83%E4%BB%AC%E7%9A%84%E4%BB%BB%E4%BD%95%E5%86%85%E5%AE%B9%EF%BC%8C%E9%80%9A%E5%B8%B8%E6%98%AF%E6%95%B0%E5%AD%97%E3%80%81%E7%9F%A9%E9%98%B5%E6%88%96%E5%88%97%E8%A1%A8%EF%BC%8C%E4%BD%86%E4%B9%9F%E5%8F%AF%E8%83%BD%E6%98%AF%20DisplayBox%E3%80%81Expression%E3%80%81Function%20%E6%88%96%20Object%E3%80%82%3C%2FLI%3E%0A%3CLI%3E%E7%94%A8%E4%BA%8E%E6%B5%8B%E8%AF%95%E5%92%8C%E5%BE%AA%E7%8E%AF%EF%BC%88for%E3%80%81while%E3%80%81if%EF%BC%89%E7%9A%84%20C%20%E8%AF%AD%E8%A8%80%E6%8E%A7%E5%88%B6%E7%BB%93%E6%9E%84%E4%B8%8E%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%9C%A8%20C%20%E4%B8%AD%E8%B0%83%E7%94%A8%E7%9A%84%E5%87%BD%E6%95%B0%E6%9C%89%E5%BE%88%E5%A4%A7%E4%B8%8D%E5%90%8C%E3%80%82%20for%20%E8%AF%AD%E5%8F%A5%E6%98%AF%20C%20%E7%BC%96%E8%AF%91%E5%99%A8%E5%8F%AF%E4%BB%A5%E7%90%86%E8%A7%A3%E7%9A%84%EF%BC%8C%E8%80%8C%20print%20%E8%AF%AD%E5%8F%A5%E6%98%AF%20C%20%E8%BF%90%E8%A1%8C%E6%97%B6%E5%8F%AF%E4%BB%A5%E7%90%86%E8%A7%A3%E7%9A%84%E3%80%82%20JSL%20%E4%B8%8D%E5%90%8C%EF%BC%9AJSL%20for%20%E8%AF%AD%E5%8F%A5%E5%AE%9E%E9%99%85%E4%B8%8A%E6%98%AF%E4%B8%80%E4%B8%AA%E5%87%BD%E6%95%B0%EF%BC%8C%E5%B0%B1%E5%83%8F%20JSL%20if%20%E5%92%8C%20JSL%20while%20%E8%AF%AD%E5%8F%A5%E4%B8%80%E6%A0%B7%E3%80%82%20%E6%89%A7%E8%A1%8C%20JSL%20for%20%E8%AF%AD%E5%8F%A5%E7%9A%84%E5%87%BD%E6%95%B0%E5%90%8D%E4%B8%BA%E2%80%9Cfor%E2%80%9D%EF%BC%8C%E5%AE%83%E6%9C%89%204%20%E4%B8%AA%E5%8F%82%E6%95%B0%EF%BC%8C%E7%94%A8%E9%80%97%E5%8F%B7%E5%88%86%E9%9A%94%EF%BC%88%E6%AD%A3%E5%A6%82%E6%82%A8%E6%9C%9F%E6%9C%9B%E7%9A%84%E5%87%BD%E6%95%B0%E5%A4%96%E8%A7%82%EF%BC%89%E3%80%82%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Efor(%20icount%20%3D%201%2C%20icount%20%26lt%3B%3D%2010%2C%20icount%20%2B%3D%201%2C%20print(%20icount%20)%3B%20wait(1)%3B%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CUL%3E%0A%3CLI%3E%E5%AE%83%E7%9C%8B%E8%B5%B7%E6%9D%A5%E7%B1%BB%E4%BC%BC%E4%BA%8E%20C%20%E8%AF%AD%E8%A8%80%E7%9A%84%20for%20%E5%BE%AA%E7%8E%AF%EF%BC%8C%E4%BD%86%E6%98%AF%E9%82%A3%E4%BA%9B%E8%AE%A8%E5%8E%8C%E7%9A%84%E9%80%97%E5%8F%B7%2F%E5%88%86%E5%8F%B7%E9%97%AE%E9%A2%98%E4%BC%9A%E8%AE%A9%E6%82%A8%E8%87%B3%E5%B0%91%E9%81%87%E5%88%B0%E4%B8%80%E6%AC%A1%E3%80%82%20%E8%AF%B7%E6%B3%A8%E6%84%8F%EF%BC%8C%E7%AC%AC%204%20%E4%B8%AA%E5%8F%82%E6%95%B0%E6%98%AF%E5%B0%86%E6%89%A7%E8%A1%8C%2010%20%E6%AC%A1%E7%9A%84%20JSL%20%E8%A1%A8%E8%BE%BE%E5%BC%8F%E3%80%82%20%E5%8F%A6%E8%AF%B7%E6%B3%A8%E6%84%8F%E5%BE%AA%E7%8E%AF%E4%BB%8E%201%20%E5%BC%80%E5%A7%8B%E5%88%B0%20%26lt%3B%3D%2010%E3%80%82%20%E5%9C%A8%20C%20%E8%AF%AD%E8%A8%80%E4%B8%AD%EF%BC%8C%E6%82%A8%E5%87%A0%E4%B9%8E%E8%82%AF%E5%AE%9A%E4%BC%9A%E4%BB%8E%200%20%E5%BC%80%E5%A7%8B%E5%B9%B6%E5%9C%A8%20%26lt%3B%2010...sae%20%E8%BF%AD%E4%BB%A3%E6%AC%A1%E6%95%B0%E4%B8%8A%E5%81%9C%E6%AD%A2%EF%BC%8C%E4%BD%86%E6%98%AF%E4%BB%8E%200%20%E5%BC%80%E5%A7%8B%E3%80%82%20JMP%20%E6%9B%B4%E5%96%9C%E6%AC%A2%E5%9F%BA%E4%BA%8E%201%20%E7%9A%84%EF%BC%9B%20JSL%20%E4%B8%AD%E7%9A%84%E5%87%A0%E4%B9%8E%E6%89%80%E6%9C%89%E7%B4%A2%E5%BC%95%E9%83%BD%E6%98%AF%E5%9F%BA%E4%BA%8E%201%20%E7%9A%84%EF%BC%88%E6%88%91%E5%BF%98%E8%AE%B0%E4%BA%86%20FORTRAN%E3%80%82%EF%BC%89%20JSL%20if%20%E8%AF%AD%E5%8F%A5%E6%98%AF%E4%B8%80%E4%B8%AA%E5%90%8D%E4%B8%BA%E2%80%9Cif%E2%80%9D%E7%9A%84%E5%87%BD%E6%95%B0%EF%BC%8C%E8%87%B3%E5%B0%91%E6%9C%89%E4%B8%A4%E4%B8%AA%E5%8F%82%E6%95%B0%EF%BC%9A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Eif(%20a%20%26lt%3B%20b%0A%2C%20%2F%2F%20comma%20%0A%20%20%20print(%22a%20is%20less%20than%20b%22)%3B%20x%3D9%3B%0A%2C%20%2F%2F%20comma%20%0A%20%20%20c%20%26lt%3B%20d%0A%2C%20%2F%2F%20comma%20%0A%20%20%20print(%22c%20is%20less%20than%20d%22)%3B%20x%3D10%3B%0A%2C%20%2F%2F%20comma%20%0A%20%20%20print(%22a%20is%20not%20%26lt%3B%20b%20and%20c%20is%20not%20%26lt%3B%20d%22)%3B%20x%3D11%3B%0A)%3B%0A%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CUL%3E%0A%3CLI%3Eif%20%E7%9C%8B%E8%B5%B7%E6%9D%A5%E5%BE%88%E5%A4%8D%E6%9D%82%EF%BC%8C%E5%8F%AA%E6%98%AF%E5%9B%A0%E4%B8%BA%E5%AE%83%E6%98%BE%E7%A4%BA%E4%BA%86%E5%87%BD%E6%95%B0%E6%8E%A5%E5%8F%97%E7%9A%84%E5%AE%8C%E6%95%B4%E6%A8%A1%E5%BC%8F%E3%80%82%20%E4%BD%A0%E5%8F%AF%E4%BB%A5%E5%9C%A8%E7%AC%AC%E4%BA%8C%E4%B8%AA%E5%8F%82%E6%95%B0%E4%B9%8B%E5%90%8E%E7%9A%84%E4%BB%BB%E4%BD%95%E5%9C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%80%E5%88%87%E9%83%BD%E6%98%AF%E5%87%BD%E6%95%B0%EF%BC%89%E5%A4%84%E7%90%86%E5%8D%95%E4%B8%AA%E8%A1%A8%E3%80%82%20%E5%AF%B9%E4%BA%8E%E5%A4%9A%E4%B8%AA%E8%A1%A8%EF%BC%8C%E6%82%A8%E9%9C%80%E8%A6%81%E4%BD%BF%E7%94%A8%20JSL%20%E5%8F%98%E9%87%8F%E6%9D%A5%E5%BC%95%E7%94%A8%E4%B8%8D%E5%90%8C%E7%9A%84%E6%95%B0%E6%8D%AE%E8%A1%A8%E5%AF%B9%E8%B1%A1%E5%B9%B6%E5%90%91%E5%AE%83%E4%BB%AC%E5%8F%91%E9%80%81%E6%B6%88%E6%81%AF%E3%80%82%20JSL%20%E6%B6%88%E6%81%AF%E4%BD%BF%E7%94%A8%20%26lt%3B%26lt%3B%20%E5%8F%91%E9%80%81%E8%BF%90%E7%AE%97%E7%AC%A6%E5%8F%91%E9%80%81%E5%88%B0%E5%AF%B9%E8%B1%A1%E3%80%82%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%3D%20open(%22%24sample_data%2Fbig%20class.jmp%22)%3B%0Adt%20%26lt%3B%26lt%3B%20sort(%20by(height)%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CUL%3E%0A%3CLI%3E%E2%80%9C%E6%8E%92%E5%BA%8F%E2%80%9D%E6%B6%88%E6%81%AF%E6%88%96%E6%96%B9%E6%B3%95%E5%8F%AA%E6%98%AF%E6%95%B0%E6%8D%AE%E8%A1%A8%E7%9F%A5%E9%81%93%E5%A6%82%E4%BD%95%E5%A4%84%E7%90%86%E7%9A%84%E4%BC%97%E5%A4%9A%E6%B6%88%E6%81%AF%E4%B9%8B%E4%B8%80%E3%80%82%20%E8%AE%B0%E4%BD%8F%E7%AC%AC%201%20%E7%82%B9%E4%B8%AD%E7%9A%84%E8%84%9A%E6%9C%AC%E7%B4%A2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AE%B8%E5%A4%9A%E5%B9%B3%E5%8F%B0%E5%9C%A8%E6%98%BE%E7%A4%BA%E6%A1%86%E6%A0%91%E4%B8%AD%E9%83%BD%E6%9C%89%E8%BE%93%E5%87%BA%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E9%80%9A%E8%BF%87%E4%B8%8B%E6%A0%87%E8%AE%BF%E9%97%AE%E8%BF%99%E4%BA%9B%E8%BE%93%E5%87%BA%E3%80%82%3C%2FLI%3E%0A%3CLI%3EJSL%20%E5%85%B7%E6%9C%89%20LoadTextFile%20%E5%92%8C%20SaveTextFile%20%E5%87%BD%E6%95%B0%EF%BC%8C%E5%8F%AF%E5%B0%86%E6%95%B4%E4%B8%AA%E6%96%87%E4%BB%B6%E7%A7%BB%E5%85%A5%E5%86%85%E5%AD%98%2F%E8%BF%94%E5%9B%9E%E7%A3%81%E7%9B%98%E3%80%82%20%E4%B8%80%E6%AC%A1%E6%B2%A1%E6%9C%89%E8%AF%BB%2F%E5%86%99%E5%87%A0%E4%B8%AA%E5%AD%97%E8%8A%82%E3%80%82%3C%2FLI%3E%0A%3CLI%3EJSL%20%E6%9C%89%E4%B8%80%E4%B8%AA%20include%20%E5%87%BD%E6%95%B0%EF%BC%8C%E5%AE%83%E8%AF%BB%E5%8F%96%20JSL%20%E7%9A%84%E4%B8%80%E4%B8%AA%E6%96%87%E4%BB%B6%E5%B9%B6%E6%89%A7%E8%A1%8C%E5%AE%83%E3%80%82%3C%2FLI%3E%0A%3CLI%3EJSL%20%E5%85%B7%E6%9C%89%E7%94%A8%E6%88%B7%E7%BC%96%E5%86%99%E7%9A%84%E5%87%BD%E6%95%B0%EF%BC%8C%E7%94%B1%E2%80%9Cfunction%E2%80%9D%E5%87%BD%E6%95%B0%E7%BC%96%E8%AF%91%E3%80%82%3C%2FLI%3E%0A%3CLI%3EJSL%20%E7%9A%84%E5%B1%80%E9%83%A8%E5%8F%98%E9%87%8F%E5%9C%A8%E7%BC%96%E5%86%99%E5%A4%A7%E5%9E%8B%E9%A1%B9%E7%9B%AE%E6%97%B6%E5%BE%88%E6%9C%89%E5%B8%AE%E5%8A%A9%E3%80%82%20%E9%BB%98%E8%AE%A4%E6%83%85%E5%86%B5%E4%B8%8B%EF%BC%8C%E5%8F%98%E9%87%8F%E6%98%AF%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F%EF%BC%8C%E8%BF%99%E9%80%82%E7%94%A8%E4%BA%8E%E5%B0%8F%E5%9E%8B%E9%A1%B9%E7%9B%AE%E5%92%8C%E7%8B%AC%E4%B8%80%E6%97%A0%E4%BA%8C%E7%9A%84%E6%B5%8B%E8%AF%95%EF%BC%8C%E4%BD%86%E7%AC%AC%E4%B8%80%E6%AC%A1%E5%9C%A8%E5%B5%8C%E5%A5%97%E5%BE%AA%E7%8E%AF%E4%B8%AD%E9%87%8D%E7%94%A8%E2%80%9Ci%E2%80%9D%E6%97%B6%EF%BC%8C%E5%8F%AF%E8%83%BD%E9%9C%80%E8%A6%81%E6%9F%A5%E7%9C%8B%E5%B1%80%E9%83%A8%E5%8F%98%E9%87%8F%E3%80%82%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-248644%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AC%2B%2B%20%E7%A8%8B%E5%BA%8F%E5%91%98%20JSL%20%E6%8C%87%E5%8D%97%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-248644%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%20%E8%84%9A%E6%9C%AC%E7%B4%A2%E5%BC%95%E6%98%AF%E6%A0%B9%E6%8D%AE%20getProperties%20%E8%BF%94%E5%9B%9E%E7%9A%84%E7%9B%B8%E5%90%8C%E4%BF%A1%E6%81%AF%E6%9E%84%E5%BB%BA%E7%9A%84%EF%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B9%E4%BB%BB%E4%BD%95%E9%9C%80%E8%A6%81%E6%9B%B4%E5%A4%9A%2F%E6%9B%B4%E5%A5%BD%2F%E6%94%B9%E8%BF%9B%E6%96%87%E6%A1%A3%E7%9A%84%E8%AF%84%E8%AE%BA%E3%80%82%20%E9%80%9A%E8%BF%87%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81%E5%B0%86%E7%A1%AE%E4%BF%9D%E5%AE%83%E5%BE%97%E5%88%B0%E8%B7%9F%E8%B8%AA%E3%80%82%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F579%22%20target%3D%22_blank%22%3E%40sheila_loring%3C%2FA%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4160%22%20target%3D%22_blank%22%3E%20%40shannon_conners%3C%2FA%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F5579%22%20target%3D%22_blank%22%3E%20%40Wendy_Murphrey%3C%2FA%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494%22%20target%3D%22_blank%22%3E%20%40XanGregg%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-248592%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AC%2B%2B%20%E7%A8%8B%E5%BA%8F%E5%91%98%20JSL%20%E6%8C%87%E5%8D%97%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-248592%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%85%B3%E4%BA%8E%20Scirpting%20%E7%B4%A2%E5%BC%95%E7%9A%84%E6%B3%A8%E9%87%8A%EF%BC%9A%E5%AE%83%E7%A1%AE%E5%AE%9E%E6%98%AF%E4%B8%80%E4%B8%AA%E9%9D%9E%E5%B8%B8%E5%BC%BA%E5%A4%A7%E7%9A%84%E5%B7%A5%E5%85%B7%EF%BC%8C%E5%85%B7%E6%9C%89%E9%9B%86%E6%88%90%E7%9A%84%E8%84%9A%E6%9C%AC%E7%AA%97%E5%8F%A3%E5%92%8C%E5%8F%AF%E8%87%AA%E5%AE%9A%E4%B9%89%E7%9A%84%E7%A4%BA%E4%BE%8B%E3%80%82%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E4%BD%86%E6%98%AF%EF%BC%8C%E6%88%91%E5%8F%91%E7%8E%B0%E6%9C%89%E7%82%B9%E5%9B%B0%E9%9A%BE%E7%9A%84%E6%98%AF%E7%BC%BA%E4%B9%8F%E5%85%A8%E9%9D%A2%E7%9A%84%E8%AF%AD%E6%B3%95%E7%B4%A2%E5%BC%95%E3%80%82%20JMP%20%E4%B8%AD%E7%A1%AE%E5%AE%9E%E5%8C%85%E5%90%AB%E4%B8%80%E6%9C%AC%E5%90%8D%E4%B8%BA%20JSL%20syntax%20reference%20%E7%9A%84%20pdf%20%E4%B9%A6%E7%B1%8D%EF%BC%8C%E4%BD%86%E5%AE%83%E5%B9%B6%E4%B8%8D%E6%98%AF%20100%25%20%E5%85%A8%E9%9D%A2%E7%9A%84%E3%80%82%20%E6%82%A8%E4%B8%8D%E5%8F%AF%E8%83%BD%E6%80%BB%E8%83%BD%E6%89%BE%E5%88%B0%E5%87%BD%E6%95%B0%E6%88%96%E6%B6%88%E6%81%AF%E7%9A%84%E6%AF%8F%E4%B8%AA%E5%8F%82%E6%95%B0%E7%9A%84%E8%AF%AD%E6%B3%95%E3%80%82%20%E6%82%A8%E7%BB%8F%E5%B8%B8%E9%9C%80%E8%A6%81%E4%BD%BF%E7%94%A8%E8%AF%B8%E5%A6%82%20%26lt%3B%3CGET%20properties%3D%22%22%20%E4%B9%8B%E7%B1%BB%E7%9A%84%E6%B6%88%E6%81%AF%E5%B9%B6%E5%B0%86%E5%85%B6%E6%98%BE%E7%A4%BA%E5%9C%A8%E6%97%A5%E5%BF%97%E4%B8%AD%3D%22%22%3E%3C%2FGET%3E%3C%2FP%3E%3CP%3E%E6%88%91%E5%9C%A8%20JMP%20%E6%84%BF%E6%9C%9B%E6%B8%85%E5%8D%95%E4%B8%AD%E5%AF%B9%E6%AD%A4%E6%9C%89%E4%B8%80%E4%B8%AA%E5%BB%BA%E8%AE%AE%EF%BC%8C%E5%B8%8C%E6%9C%9B%E5%AE%83%E8%83%BD%E5%BE%97%E5%88%B0%E4%B8%80%E4%BA%9B%E8%8D%A3%E8%AA%89%E3%80%82%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
C++ Programmer's Guide to JSL

Problem

You know some C++ and have some idea what a C++ object is and need the 20 minute intro to JMP's scripting language.

 

Solution

  • There is a JMP scripting index on the Help menu. It describes, together or separately, Functions, DisplayBoxes, and Objects. As you dig deeper, use the search it provides.
  • JSL does not have typed variables; there is not a way to declare a double, float, int, or bool. JSL variables hold whatever is assigned to them, usually a number, matrix, or list, but maybe a DisplayBox, Expression, Function, or Object.
  • C language control structures for testing and looping (for, while, if) are very different from functions you can call in C. The for statement is something the C compiler understands, but the print statement is something the C runtime understands. JSL is different: the JSL for statement is actually a function, just like the JSL if and the JSL while statement. The function that does the JSL for statement is named "for" and it takes 4 arguments, separated by commas (as you'd expect a function to look).
for( icount = 1, icount <= 10, icount += 1, print( icount ); wait(1); );
  • it looks similar to the C for loop, but those pesky comma/semicolon issues will get you a least once. Note the 4th argument is the JSL Expression that will be executed 10 times. Also note the loop starts at 1 and goes to <= 10. In C you'd almost certainly start at 0 and stop on < 10...sae number of iterations, but 0-based. JMP prefers 1-based; almost all of the indexing in JSL is 1-based (I've forgotten about FORTRAN.) The JSL if statement is a function named "if" and takes at least two arguments:
if( a < b
, // comma 
   print("a is less than b"); x=9;
, // comma 
   c < d
, // comma 
   print("c is less than d"); x=10;
, // comma 
   print("a is not < b and c is not < d"); x=11;
);
 
  •  That if looks complicated only because it shows the full pattern the function accepts. You can stop anywhere after the 2nd argument. The JSL while statement is also a functiuon (named "while"), taking two arguments.
  • Expressions are where JSL gets a lot of its power. An expression is a bit of JSL, perhaps the 4th argument to the for function or the 2nd argument to the while statement. If an expression is in a variable, it can be passed to a function, or it can be evaluated, or it can be inspected and maniplated. JSL has a function named "parse" that turns a string value into an expression.
  • JSL matrices, lists, and associative arrays are high level container objects; often it will be an interesting design choice which to use, or whether to use a data table. Each has weaknesses and strengths for different jobs.
  • The data table (or multiple tables) is an object you can use in JSL; you can process a single table with the forEachRow( expression ) statement (or function...everything is a function in JSL). With multiple tables you'll want to use JSL variables to refer to different data table objects and send them messages. JSL messages are sent to an object with the << send operator.
dt = open("$sample_data/big class.jmp");
dt << sort( by(height) );
  •  the "sort" message, or method, is just one of many messages the data table knows how to handle. Remember the scripting index in point 1; it lists all the messages and usually has an example. The data table also processes requests to open platforms like Distribution. Think of JSL platforms like big useful subroutines that you can string together using the scripting language; your goal should be to get platforms to do the heavy lifting (since they are written in C++, they are very fast) and use JSL scripting just to orchestrate your presentation. (Don't write your own distribution graphs in JSL without a really good reason!)
  • JSL's presentations, graphs, tables, output is built from nested DisplayBoxes that are usually displayed in a window. A DisplayBox is a special kind of object (and gets special treatment in the scripting index.) You can build custom displays from scratch, and you can use displays created from platforms (like Distribution). Many platforms have output in the displaybox tree that you can access by subscripting. 
  • JSL has functions LoadTextFile and SaveTextFile that move entire files into memory/back to disk. There is no read/write a few bytes at a time.
  • JSL has an include function that reads a file of JSL and executes it.
  • JSL has user written functions, compiled by the "function" function.
  • JSL has local variables that help, a lot, when writing large projects. By default variables are global, which is appropriate for tiny projects and one-of-a-kind tests, but the first time you reuse "i" in a nested loop, it might be time to look into local variables.
Comments
bobmorrane

A note on the Scirpting index: It is a very powerful tool indeed, with its integratd Scripting window and customisable examples.

 

But, what I found a bit difficult was the lack of a comprehensive syntax index. There is indeed one pdf book called the JSL syntax reference included in JMP but it is not 100% comprehensive. You can't always find the syntax for every argument of a function or message. You often have to go and use messages such as <<get properties and display that in the log.

I have a suggestion in the JMP wishlist for this, hopefully it gets some kudos.

 

 

 

Thanks! The scripting index is built from the same information that getProperties returns, and enhanced with examples for common cases. I also wish there were more examples. The language also has features that are not properties of objects which get better coverage in the book. JMP has gotten better over the last N releases about producing better messages in the log, sometimes including usage information as well. 

The documentation, technical support, and development teams would love to have your comments about anything that needs more/better/improved doc. Going through tech support will make sure it gets tracked.

@sheila_loring @shannon_conners @Wendy_Murphrey @XanGregg 

JSL Cookbook

If you’re looking for a code snippet or design pattern that performs a common task for your JSL project, the JSL Cookbook is for you.

This knowledge base contains building blocks of JSL code that you can use to reduce the amount of coding you have to do yourself.

It's also a great place to learn from the experts how to use JSL in new ways, with best practices.