<?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: An interesting question in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/An-interesting-question/m-p/909078#M106772</link>
    <description>&lt;P&gt;Not directly answer to your question but have you tried using &lt;A href="https://www.jmp.com/support/help/en/18.2/#page/jmp/schedule-actions.shtml" target="_blank" rel="noopener"&gt;Schedule()&lt;/A&gt;&amp;nbsp; (and &lt;A href="https://www.jmp.com/support/help/en/18.2/#page/jmp/schedule-messages.shtml" target="_blank" rel="noopener"&gt;JSL Syntax Reference &amp;gt; JSL Messages &amp;gt; Schedule Messages&lt;/A&gt;&amp;nbsp;) instead of a loop?&lt;/P&gt;</description>
    <pubDate>Wed, 22 Oct 2025 10:40:15 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-10-22T10:40:15Z</dc:date>
    <item>
      <title>An interesting question</title>
      <link>https://community.jmp.com/t5/Discussions/An-interesting-question/m-p/908693#M106723</link>
      <description>&lt;P&gt;This JSL is looped once per minute, and it's set to be saved as a local JSL.&lt;/P&gt;
&lt;P&gt;I tried two ways, but the effects are different:&lt;/P&gt;
&lt;P&gt;1. In a JMP table, click on its saved script to run (the table has already established a script to run this JSL).&lt;/P&gt;
&lt;P&gt;2. Directly open this JSL script file and click the run button to run.&lt;/P&gt;
&lt;P&gt;The effect of the first method is that during the loop's waiting period, other JSL cannot be run (I have set event response scripts on some columns of this table).&lt;/P&gt;
&lt;P&gt;The second method allows the table's event response scripts to run during the loop waiting period.&lt;/P&gt;
&lt;P&gt;Why?&lt;BR /&gt;&lt;BR /&gt;Thanks Experts!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 04:36:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/An-interesting-question/m-p/908693#M106723</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-10-21T04:36:32Z</dc:date>
    </item>
    <item>
      <title>回复： An interesting question</title>
      <link>https://community.jmp.com/t5/Discussions/An-interesting-question/m-p/908709#M106724</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\TT3.jsl&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt=Current Data Table();
 for(k=1,k&amp;lt;=60,k++,
 t1=tick seconds();
 try(Close(d3,nosave)); 
t2=tick seconds();tt=t2-t1;if(tt&amp;gt;60,t3=120-tt,t3=60-tt);Wait(t3);
 ); &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dt=Open("$SAMPLE_DATA/Big Class.jmp");&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
dt=Current Data Table();
:age&amp;lt;&amp;lt;Add Column Properties(Set Property("Event Handler",Event Handler(Click(JSL Quote(Function( {thisTable, thisColumn, iRow}, {},  dt=Current Data Table();ab=(Current Data Table()&amp;lt;&amp;lt;get selected rows)[1];gm=Current Data Table()[ab,"age"]; dt&amp;lt;&amp;lt;Select Where(age==gm);d3=dt&amp;lt;&amp;lt;Subset(Output Table("T3"),Selected Rows(1),selected columns(0));try(d3&amp;lt;&amp;lt;Delete Table Property("Source")); );)))));

Current Data Table() &amp;lt;&amp;lt; New Script("TT",JSL Quote(  
dt=Current Data Table();
Include("C:\TT3.jsl");
 	
 ),As String(1));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-10-21_13-30-49.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/85423i7222C5124456D7B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-10-21_13-30-49.png" alt="2025-10-21_13-30-49.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 05:36:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/An-interesting-question/m-p/908709#M106724</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-10-21T05:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: An interesting question</title>
      <link>https://community.jmp.com/t5/Discussions/An-interesting-question/m-p/909078#M106772</link>
      <description>&lt;P&gt;Not directly answer to your question but have you tried using &lt;A href="https://www.jmp.com/support/help/en/18.2/#page/jmp/schedule-actions.shtml" target="_blank" rel="noopener"&gt;Schedule()&lt;/A&gt;&amp;nbsp; (and &lt;A href="https://www.jmp.com/support/help/en/18.2/#page/jmp/schedule-messages.shtml" target="_blank" rel="noopener"&gt;JSL Syntax Reference &amp;gt; JSL Messages &amp;gt; Schedule Messages&lt;/A&gt;&amp;nbsp;) instead of a loop?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 10:40:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/An-interesting-question/m-p/909078#M106772</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-10-22T10:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: An interesting question</title>
      <link>https://community.jmp.com/t5/Discussions/An-interesting-question/m-p/909085#M106775</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P class="_tgt transPara grammarSection"&gt;&lt;SPAN class="transSent" data-group="0-0"&gt;There are no displayed records in the log&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="_tgt transPara grammarSection"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="_tgt transPara grammarSection"&gt;&lt;SPAN class="transSent" data-group="2-0"&gt;Minor issue: From now on, I can run it using the JSL of the local file.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-10-22_19-50-43.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/85529i1C45A0CD7046AE99/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-10-22_19-50-43.png" alt="2025-10-22_19-50-43.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 11:56:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/An-interesting-question/m-p/909085#M106775</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-10-22T11:56:54Z</dc:date>
    </item>
  </channel>
</rss>

