cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
SpannerHead
Level VI

Easiest way to find out if something exists in a list.

I have a script that creates an embedded program in a data table.  I'm able to list the embedded programs already present and I want to be able to avoid creating it if it already exists.  What's the easiest way to check the lust for the existance of the program?

dt = Current Data Table();

lstScripts = dt << Get Table Script Names;

Slán



SpannerHead
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Easiest way to find out if something exists in a list.

Contains() is easiest way to check if list already contains an item.

-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: Easiest way to find out if something exists in a list.

Contains() is easiest way to check if list already contains an item.

-Jarmo

Recommended Articles