<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: list box and iteration in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/list-box-and-iteration/m-p/43633#M25247</link>
    <description>&lt;P&gt;Here is a way to obtain the original result, although I prefer Jim's approach.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Window( "Test",
	hlb = H List Box()
);

For( b = 1, b &amp;lt; 5, b++,
	hlb &amp;lt;&amp;lt; Append(
		Eval(
			Parse(
				Substitute(
					"vlb nnn = V List Box( Text Box( \!"Here I am!\!") )",
					"nnn",
					Char( b )
				)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 25 Aug 2017 09:59:48 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2017-08-25T09:59:48Z</dc:date>
    <item>
      <title>list box and iteration</title>
      <link>https://community.jmp.com/t5/Discussions/list-box-and-iteration/m-p/43625#M25242</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a reporting showing data and structured as below:&lt;/P&gt;&lt;P&gt;H1 = H list box(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;V1 = V list box() /&amp;nbsp;&lt;SPAN&gt;V2 = V list box() /&amp;nbsp;V3 = V list box() /&amp;nbsp;V4 = V list box()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a wait to script this type of structure using iteration as all the V list box are identical.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried to use H1 &amp;lt;&amp;lt; append (vi) method but it is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Lionel&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2017 00:28:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/list-box-and-iteration/m-p/43625#M25242</guid>
      <dc:creator>KinKame</dc:creator>
      <dc:date>2017-08-25T00:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: list box and iteration</title>
      <link>https://community.jmp.com/t5/Discussions/list-box-and-iteration/m-p/43626#M25243</link>
      <description>&lt;P&gt;Here is an example of how to do what I think you want, by using a JMP list as the structure that will allow iteration&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );

// iteration list
iList = {};

// Create a display window
NW = New Window( "Test", ob = Outline Box( "Results" ) );

// Create multiple V List Boxes and add them to the display window
For( i = 1, i &amp;lt;= 4, i++,
	V = V List Box( Text Box( "V List " || Char( i ) ) );
	ob &amp;lt;&amp;lt; append( V );
	// Place the handle for each of the V List Boxes into the list
	Insert Into( iList, V );
);

// Now add to the display window by referencing the V List Box of choice
iList[2] &amp;lt;&amp;lt; append( Bivariate( x( dt:Height ), y( dt:Weight ) ) );
iList[4] &amp;lt;&amp;lt; append( Bivariate( x( dt:Age ), y( dt:Weight ) ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Aug 2017 03:34:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/list-box-and-iteration/m-p/43626#M25243</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-08-25T03:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: list box and iteration</title>
      <link>https://community.jmp.com/t5/Discussions/list-box-and-iteration/m-p/43633#M25247</link>
      <description>&lt;P&gt;Here is a way to obtain the original result, although I prefer Jim's approach.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Window( "Test",
	hlb = H List Box()
);

For( b = 1, b &amp;lt; 5, b++,
	hlb &amp;lt;&amp;lt; Append(
		Eval(
			Parse(
				Substitute(
					"vlb nnn = V List Box( Text Box( \!"Here I am!\!") )",
					"nnn",
					Char( b )
				)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Aug 2017 09:59:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/list-box-and-iteration/m-p/43633#M25247</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2017-08-25T09:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: list box and iteration</title>
      <link>https://community.jmp.com/t5/Discussions/list-box-and-iteration/m-p/43667#M25258</link>
      <description>&lt;P&gt;thank you&amp;nbsp;for your reply. doesnt look like so complicated :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Aug 2017 13:58:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/list-box-and-iteration/m-p/43667#M25258</guid>
      <dc:creator>KinKame</dc:creator>
      <dc:date>2017-08-27T13:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: list box and iteration</title>
      <link>https://community.jmp.com/t5/Discussions/list-box-and-iteration/m-p/43668#M25259</link>
      <description>&lt;P&gt;thank you and sorry for my late reply. Looks ok for me to try it :)&lt;/img&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Aug 2017 13:59:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/list-box-and-iteration/m-p/43668#M25259</guid>
      <dc:creator>KinKame</dc:creator>
      <dc:date>2017-08-27T13:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: list box and iteration</title>
      <link>https://community.jmp.com/t5/Discussions/list-box-and-iteration/m-p/43676#M25264</link>
      <description>&lt;P&gt;It never does - when you know the answer!&lt;/P&gt;
&lt;P&gt;The key point is that we need to &lt;EM&gt;make a specific script&lt;/EM&gt; as expressions or character strings and then evaluate them when they are ready. That practice is not common in programming.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 12:26:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/list-box-and-iteration/m-p/43676#M25264</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2017-08-28T12:26:30Z</dc:date>
    </item>
  </channel>
</rss>

