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.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

Discussions

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

How to count the number of elements in a column / find the length or size of a column in JSL

I somehow stumbled upon 

N Items()

in the Scripting Index by sheer luck, no telling how many are less fortunate than me, but this simple task doesn't work for a column that is, I don't know what the right word is, accessed? by 

col = Column(dt, "Col Name");

it throws

N Items() argument must be a list

and proceeds no further.

Once again, a slew of Google searches with various substitute words only gives very complicated computer scripting problems as hits, not what I am looking for.

1 ACCEPTED SOLUTION

Accepted Solutions
mostarr
Level IV

Re: How to count the number of elements in a column / find the length or size of a column in JSL

Ah, but simply getting the N Rows(); of the whole table instead of the individual column does wonders. Thanks.

View solution in original post

2 REPLIES 2
mostarr
Level IV

Re: How to count the number of elements in a column / find the length or size of a column in JSL

N Rows();

doesn't work either, for a column instantiated or accessed the way I was told to do so in a previous post, using Col();.

mostarr
Level IV

Re: How to count the number of elements in a column / find the length or size of a column in JSL

Ah, but simply getting the N Rows(); of the whole table instead of the individual column does wonders. Thanks.

Recommended Articles