Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- Multidimension List Possible?

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Mar 14, 2012 6:06 PM
(3151 views)

Hi, i was wondering, how do i declare/use a multidimensional list in the following scenario:

For( i = 1, i <=N Items( var_list_max ), i++,

max_val={}; //initialize array

max_name={};//initialize array

for(j=1,j<(col_listitems+1),j++,

//show name

max_name=x[text box(j+13)]<<get text;show(max_name

); //show values

max_val=x[numberedit box(j)]<<get text;show(max_val

); );

);

i would like to use the bigger loop's variable ("i") as a subscript along with the smaller loop's variable ("j"). eg: **max_val**

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Maybe a list of lists (of lists...) is what you need?

A=**{****1**,**2****}**;

B=**{****3**,**4****}**;

C=**{**A,B**}**;

show**(**C**[****1****][****2****])**;

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Maybe a list of lists (of lists...) is what you need?

A=**{****1**,**2****}**;

B=**{****3**,**4****}**;

C=**{**A,B**}**;

show**(**C**[****1****][****2****])**;

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Multidimension List Possible?

Thanks so much for the help MS, appreciate it!:)