Hello JMP Community,
While writing quick and simple scripts with For loops, I usually enter the starting and ending columns manually (i.e. For i=start, i <=end, i++) to allow for the analysis of different ranges of variables.
Is there a simple way to retrieve the position of a given column to use as either starting or ending column? I use the rather awkward method of selecting all columns up to the desired column but it seems highly inefficient. Another method I have used is to create a new table where the column names are stacked in rows and use the row numbers as positions.
I assume that there is a simpler method that has escaped me so far.
Thank you for your help.