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
lwx228
Level VIII

How does JSL automatically get data for each cell in the selected range of the cursor?

For example, "Big class.jMP "has selected column 1, and column 2 has already selected row 6

2020-11-24_16-25-14.png2020-11-24_16-25-14.png
How can write JSL to automatically write the cell values of the selected range into a variable?

It looks like this:
s1="TIM"
s2=12

 

Thanks!

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How does JSL automatically get data for each cell in the selected range of the cursor?

I think this is what you are looking for

s1 = column(dt,(dt<<get selected columns)[1])[(dt<<get selected rows)[1]];
s2 = column(dt,(dt<<get selected columns)[2])[(dt<<get selected rows)[1]];
Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: How does JSL automatically get data for each cell in the selected range of the cursor?

I think this is what you are looking for

s1 = column(dt,(dt<<get selected columns)[1])[(dt<<get selected rows)[1]];
s2 = column(dt,(dt<<get selected columns)[2])[(dt<<get selected rows)[1]];
Jim
lwx228
Level VIII

Re: How does JSL automatically get data for each cell in the selected range of the cursor?

Thank Jim!

2020-11-24_18-31-55.png2020-11-24_18-31-55.png

Recommended Articles