<?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: How to automatically combine this complex conversion? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/909250#M106800</link>
    <description>&lt;P&gt;Thanks!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Eval(Parse("\[:B&amp;lt;&amp;lt; Add Column Properties(Set Property("Event Handler",Event Handler(Click(JSL Quote(Function( {thisTable, thisColumn, iRow}, {},  
dt=Current Data Table();dt[1,"A"]="one";
dt[1,"C"]="]\"|| yy || "\[";
dt[1,"D"]="th"
    );)))));
]\"));&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 23 Oct 2025 04:39:32 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2025-10-23T04:39:32Z</dc:date>
    <item>
      <title>How to automatically combine this complex conversion?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/900197#M106018</link>
      <description>&lt;P&gt;In JSL, there is already a list variable abc. How can the values of this variable be written one by one into a new script without automatically re-entering the specific variable values&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;abc={"A","B","C","D","E"};
dt=New Table("A",Add Rows(1),New Column("A",Character,"Nominal"));
Eval(Parse("dt&amp;lt;&amp;lt;new script(\!"SS\!", abc; );"));
Eval(Parse("dt&amp;lt;&amp;lt;new script(\!"OK\!", abc={\!"A\!",\!"B\!",\!"C\!",\!"D\!",\!"E\!"};; );"));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-09-13_19-06-40.png" style="width: 901px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/82441i024EDE1FBC021B22/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-09-13_19-06-40.png" alt="2025-09-13_19-06-40.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Sep 2025 11:13:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/900197#M106018</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-09-13T11:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically combine this complex conversion?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/900213#M106020</link>
      <description>&lt;P&gt;Is this what you are looking for?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);


abc = {"A", "B", "C", "D", "E"};

dt = New Table("A", Add Rows(1), New Column("A", Character, "Nominal"));

Eval(EvalExpr(
	dt &amp;lt;&amp;lt; New Script("A", 
		Expr(abc)
	);	
));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1757767160429.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/82446i91C6A9C4B6C4A68A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1757767160429.png" alt="jthi_0-1757767160429.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or do you wish to have a script which will set abc variable to the list of values within the table script?&lt;/P&gt;</description>
      <pubDate>Sat, 13 Sep 2025 12:39:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/900213#M106020</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-09-13T12:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically combine this complex conversion?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/900251#M106028</link>
      <description>&lt;P class="_tgt transPara grammarSection"&gt;&lt;SPAN class="transSent" data-group="0-0"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="_tgt transPara grammarSection"&gt;OK&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Eval(EvalExpr(
	dt &amp;lt;&amp;lt; New Script("A", 
		abc=Expr(abc)
	);	
));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 14 Sep 2025 00:53:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/900251#M106028</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-09-14T00:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically combine this complex conversion?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/900258#M106029</link>
      <description>&lt;P&gt;You generally have three options&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = New Table("A", Add Rows(1), New Column("A", Character, "Nominal"));

// No variable
abc = {"A", "B", "C", "D", "E"};
Eval(EvalExpr(
	dt &amp;lt;&amp;lt; New Script("A1",
		Expr(abc)
	);	
));


// Freely define the variable name within table script
abc = {"A", "B", "C", "D", "E"};
Eval(EvalExpr(
	dt &amp;lt;&amp;lt; New Script("A2",
		abc = Expr(abc)
	);	
));


// Use expression to define variable and it's value within table script
// If you need abc defined outside of table script, you can use Eval(abc_expr);
abc_expr = Expr(abc = {"A", "B", "C", "D", "E"});
Eval(EvalExpr(
	dt &amp;lt;&amp;lt; New Script("A3", 
		Expr(Name Expr(abc_expr))
	);	
));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 14 Sep 2025 04:59:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/900258#M106029</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-09-14T04:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically combine this complex conversion?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/909115#M106779</link>
      <description>&lt;P&gt;How can do it&lt;BR /&gt;Thanks Experts!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = New Table("A", Add Rows(1), New Column("A", Character, "Nominal"));
xx=1.3;
:A&amp;lt;&amp;lt;Add Column Properties(Set Property("Event Handler",Event Handler(Click(JSL Quote(Function( {thisTable, thisColumn, iRow}, {},  
dt=Current Data Table();
abc=Expr(char(xx));
  );)))));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-10-22_23-08-42.png" style="width: 877px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/85535iFEEB7BD21B642A2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-10-22_23-08-42.png" alt="2025-10-22_23-08-42.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 15:10:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/909115#M106779</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-10-22T15:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically combine this complex conversion?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/909116#M106780</link>
      <description>&lt;P&gt;I want get:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt=Current Data Table();
abc=1.3;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Oct 2025 15:12:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/909116#M106780</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-10-22T15:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically combine this complex conversion?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/909118#M106781</link>
      <description>&lt;P&gt;The JSL Quote() required for the Event Handler makes things more difficult.&amp;nbsp; I'm not sure there's another way than to Parse() it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = New Table( "A", Add Rows( 1 ), New Column( "A", Character, "Nominal" ) );
xx = 1.3;
Eval(
	Parse(
		"\[:A &amp;lt;&amp;lt; Add Column Properties(
	Set Property(
		"Event Handler",
		Event Handler(
			Click(JSL Quote(Function( {thisTable, thisColumn, iRow}, {},  
dt=Current Data Table();
abc=]\"
		 || Char( xx ) || ";
  );)			)
		)
	)
);"
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mmarchandFSLR_0-1761147415193.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/85536i495C0A2092669400/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mmarchandFSLR_0-1761147415193.png" alt="mmarchandFSLR_0-1761147415193.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 15:37:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/909118#M106781</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2025-10-22T15:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically combine this complex conversion?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/909246#M106797</link>
      <description>&lt;P&gt;Thanks Experts!&lt;BR /&gt;However, the event response link in column B was not created successfully&lt;BR /&gt;Thanks!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = New Table( "A", Add Rows( 1 ), New Column( "A", Character, "Nominal" ), New Column( "B", Character, "Nominal" ), New Column( "C", Character, "Nominal" ), New Column( "D", Character, "Nominal" ) );
xx = 1.3;yy="two";
Eval(Parse("\[:A &amp;lt;&amp;lt; Add Column Properties(Set Property("Event Handler",Event Handler(Click(JSL Quote(Function( {thisTable, thisColumn, iRow}, {},  
dt=Current Data Table();
abc=]\"
|| Char( xx ) || 
"\[;    );)))));]\"));

Eval(Parse("\[:B&amp;lt;&amp;lt; Add Column Properties(Set Property("Event Handler",Event Handler(Click(JSL Quote(Function( {thisTable, thisColumn, iRow}, {},  
dt=Current Data Table();dt[1,"A"]="one"
dt[1,"C"]=]\"|| yy || "\[;
dt[1,"D"]="th"
    );)))));
]\"));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Oct 2025 04:03:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/909246#M106797</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-10-23T04:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically combine this complex conversion?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/909249#M106799</link>
      <description>&lt;P&gt;It does give you error message&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Unexpected "dt". Perhaps there is a missing "," or ")".
Trying to parse arguments of function "Function".
Line 3 Column 1: ►dt[1,"C"]=two;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Indicating that something is most likely wrong with the syntax. In this case it seems like you are missing ";" after "one"&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 04:19:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/909249#M106799</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-10-23T04:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically combine this complex conversion?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/909250#M106800</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Eval(Parse("\[:B&amp;lt;&amp;lt; Add Column Properties(Set Property("Event Handler",Event Handler(Click(JSL Quote(Function( {thisTable, thisColumn, iRow}, {},  
dt=Current Data Table();dt[1,"A"]="one";
dt[1,"C"]="]\"|| yy || "\[";
dt[1,"D"]="th"
    );)))));
]\"));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Oct 2025 04:39:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-automatically-combine-this-complex-conversion/m-p/909250#M106800</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-10-23T04:39:32Z</dc:date>
    </item>
  </channel>
</rss>

