I just started learning JSL and am stuck with an idea on my mind which I just don't know how to convert into JSL code. Basically I wanted to create a window with Table Boxes on it. The number of table boxes is not fixed and would depend on factors that are controlled by the user.
If all is well this is what I would have in mind:
For( i = 1, i <= 4, i++, Table Box( String Col Box( "Test Name", testName ), String Col Box( "Units", testUnits ), Number Col Box( "Min Limit", testMin ), Number Col Box( "Max Limit", testMax ) ))
As you can see I would have wanted to repeatedly create Table Boxes that are populated by Associative Arrays (for example: testName[1] = {"Name1", "Name2", "Name3"})
I tried putting the Table Box inside a "For Loop" and it did not seem to work. I need help with this. I tried reading limited resources online and I have not seen an example where a number of dialog boxes are dynamically generated.
I appreciate it if you can share any solution or possible work-around.