Loops
Problem
You need to execute some JSL more than once.
Solution
Use a for(...) or while(...) or one of the more exotic variations.
The for loop is th...
Problem
You need to execute some JSL more than once.
Solution
Use a for(...) or while(...) or one of the more exotic variations.
The for loop is th...
Problem Suppose you prompt a user to make a selection. When you retrieve the values from the user, typically they are stored in a list. Now you need...
Wendy_MurphreyAccess usernames and passwords without saving them in your script or code.
ihProblem You want to use a Slider Box to set a continuous value, and you want to see the current value as you move the slider. Solution Make a Slide...
Craige_HalesProblem You need to build a custom calculator that displays a table of numbers based on several input values. Solution Use Number Edit Boxes to get...
Craige_HalesWe are in the process of revamping the JSL Cookbook to give it broader appeal, make it better organized, and easier to use. The focus will be on shor...
DonMcCormackInsert variables or expressions into other expressions. This is a brief introduction to Eval(), Eval Expr(), Substitute(), Parse(), and Eval Insert()...
ihProblemYou need to look at every element in an Associative ArraySolutionuse the <<First and <<Next messages// load a table of elements
dt = Open( "htt
...
Problem Suppose your data table has a set of rows selected. Now, you want to select rows from that selection that meet an additional condition. So...
Wendy_MurphreyProblem You have some code that you want to call from more than one place, maybe with different arguments. Solution Use a user written function, wi...
Craige_HalesProblem You have data in a Matrix and need a Data Table, or the other way 'round Data table or matrix? Solution There is a function, AsTable(), that...
Craige_HalesProblem Concatenate data tables using Files in Directory, without using Multiple File Import Solution Use Files in Directory to make a list and C...
Craige_HalesProblem APIs and other machine generated code often delivers very complicated data structures. I found it helpful to have a tool that analyzes these ...
bernd_heinenGet the code to submit a call to MapQuest REST APIs
bernd_heinenGet geo-codes from MapQuest without the need to care about details of the interface.
bernd_heinenGet routing information from MapQuest without the need to care about details of the interface.
bernd_heinenProblem You have a 2D matrix. You used the Loc function to locate interesting elements, but Loc returned indexes for a 1D matrix. How can you convert...
Craige_HalesProblemI wanted to create this figure for a publication SolutionTo create the vertically oriented shaded/filled and truncated normal curves, I utilize...
MathStatChemProblem 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 JM...
Craige_HalesProblem If you need to open a file in an external program, typically the JSL Open() function will work for you. However, if you want to open a file t...
Justin_ChiltonProblem When creating user interfaces in JMP, you may want to add some background or foreground colors to your displays. However, with JMP 15's new s...
Justin_ChiltonProblemYou have data in one or more lists or matrix vectors that you need to sort.SolutionUse Sort List() or Sort List Into(), Rank(), or put the list...
Craige_HalesProblem Suppose you wish to select rows in a data table that meet more than one condition. Or, maybe you want to select the rows that meet one of a f...
Wendy_MurphreyProblemProblem 1: I need to get a list of the unique values in a data table column.Problem 2: I need to get a list of the unique values in a JSL dat...
MathStatChemreference lines automatically added using JSL
Craige_Hales