<?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 do I place values into data table cells using JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-place-values-into-data-table-cells-using-JSL/m-p/14003#M13142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi md,&lt;/P&gt;&lt;P&gt;i am not sure i fully understand your question but try these two links:&lt;/P&gt;&lt;P&gt;1) &lt;A href="https://community.jmp.com/docs/DOC-6117" target="_blank"&gt;Expand by Frequency Column Add-In&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2)&lt;A href="https://community.jmp.com/message/212005" target="_blank"&gt;bubble plots - unequal time intervals&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2016 13:20:28 GMT</pubDate>
    <dc:creator>ron_horne</dc:creator>
    <dc:date>2016-10-28T13:20:28Z</dc:date>
    <item>
      <title>How do I place values into data table cells using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-place-values-into-data-table-cells-using-JSL/m-p/14002#M13141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am relatively new to JSL, but I have been authoring several scripts to handle processes for generating tables and graphs for testing that a software product that we are producing is properly reporting results. One of the issues I am having now is that I have to create a graph that shows reported times (easy) but also reflects the residuals from the reporting time bin into future time bins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I need to make a wait time graph where the x-axis runs from midnight to midnight with discrete 15-minute time bins. I have a data set that reports wait times and I bin the time that the wait begins. For simplicity, I single out one row where a wait time of 90 minutes is reported for an agent that enters a location at 9:05 AM. The time bin for that wait time is 9:00 AM the 90 minute wait time is reported and shown in the graph in the 9:00 AM time bin. In a traditional graph, all other times would be zero, as all other data was excluded, but in reality, the graph should show what that agent's wait time is across several time bins until the wait time is zero; effectively, what is the minimum amount of time the next person entering the location can expect to wait if they arrive at the location behind the agent waiting during any time bin where the current agent is still queued.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I need to create a matrix of all times with values of zero in the time bins except for those listed below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Time Bin&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;Wait Time&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;9:00 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 90 min&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;9:15 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 80 min&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;9:30 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 65 min&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;9:45 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50 min&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;10:00 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 35 min&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;10:15 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20 min&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;10:30 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 min&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have a script that generates the columns for each time bin after the last column of the data table, and I have found that due to the number of conditions involved and that fact that where, when and how often nonzero wait times will occur in any given row of the matrix that using column formulas would be overcomplicated, if at all feasible. So I was hoping that there is some method for populating individual cells so that I use nested loops to go through each row of each column in the matrix and determine what wait time value should be placed therein.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My other option, which I would much prefer, would be to create a new data table that includes child records to handle the overflow data. For example, a subset of the data table is the following four rows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Agent ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Location&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Day&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Entry Time&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Exit Time&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Min Transit Time&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Wait Time&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Time Bin&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;184&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Egress Queue&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:10:24 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:10:24 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;185&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;FIS Entrance&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6:41:38 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6:41:38 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6:30 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;185&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Visitors Queue&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6:41:38 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:00:51 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1153&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6:30 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;185&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Baggage Claim&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:01:59 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:01:59 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script would scan each row in the original table and copy it to the new data table. In the third row in the example above, the total wait time, 1153 s, is greater than the time spent waiting in the 6:30 AM time bin: 6:45 AM time bin - 6:41:38 AM queue entry time - 0 s queue transit time = 202 s of wait used in 6:30 AM time bin. So the new data table would add child rows resulting in the region of the data table shown above appearing as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Agent ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Location&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Day&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Entry Time&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Exit Time&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Min Transit Time&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Wait Time&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Time Bin&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;184&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Egress Queue&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:10:24 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:10:24 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;185&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;FIS Entrance&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6:41:38 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6:41:38 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6:30 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;185&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Visitors Queue&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6:41:38 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:00:51 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1153&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6:30 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;EM&gt;185&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;Visitors Queue&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;1&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;6:41:38 AM&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;7:00:51 AM&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;0&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;951&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;EM&gt;6:45 AM&lt;/EM&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM&gt;185&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;Visitors Queue&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;1&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;6:41:38 AM&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;7:00:51 AM&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;0&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;51&lt;/EM&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;EM&gt;7:00 AM&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;185&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Baggage Claim&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:01:59 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:01:59 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rows in italics are the child rows for Agent 185 in the Visitors Queue showing the remaining wait times until Agent 185 has no more wait in the Visitors Queue. I could then use this table to generate the graph that I need because the child records would provide the additional data needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone can provide a method for either of this solutions, it would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 13:40:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-place-values-into-data-table-cells-using-JSL/m-p/14002#M13141</guid>
      <dc:creator>mdawson69</dc:creator>
      <dc:date>2015-08-26T13:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I place values into data table cells using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-place-values-into-data-table-cells-using-JSL/m-p/14003#M13142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi md,&lt;/P&gt;&lt;P&gt;i am not sure i fully understand your question but try these two links:&lt;/P&gt;&lt;P&gt;1) &lt;A href="https://community.jmp.com/docs/DOC-6117" target="_blank"&gt;Expand by Frequency Column Add-In&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2)&lt;A href="https://community.jmp.com/message/212005" target="_blank"&gt;bubble plots - unequal time intervals&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 13:20:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-place-values-into-data-table-cells-using-JSL/m-p/14003#M13142</guid>
      <dc:creator>ron_horne</dc:creator>
      <dc:date>2016-10-28T13:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I place values into data table cells using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-place-values-into-data-table-cells-using-JSL/m-p/14004#M13143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the info. The Add-in did not work for me, but reviewing your code for the bubble plot problem resolved the issue I was having. It took all day to get the script I needed built, but the code you provided for adding child rows to fill in data gaps helped me complete what would have otherwise remained a dead end for quite some time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 19:05:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-place-values-into-data-table-cells-using-JSL/m-p/14004#M13143</guid>
      <dc:creator>mdawson69</dc:creator>
      <dc:date>2015-08-28T19:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I place values into data table cells using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-place-values-into-data-table-cells-using-JSL/m-p/14005#M13144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the code block where you create new rows based on the event duration,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif !important;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: #0000dd;"&gt;For&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt; i &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;=&lt;/SPAN&gt; &lt;STRONG style="font-style: inherit; font-family: 'Courier New'; color: teal;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt; i &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt; rowN&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt; i&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;++,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif !important;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rowi &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt; dt &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt; get row&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(&lt;/STRONG&gt; i &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: #0000dd;"&gt;For&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt; z &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;=&lt;/SPAN&gt; &lt;STRONG style="font-style: inherit; font-family: 'Courier New'; color: teal;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt; z &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt;Name&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: purple;"&gt;"Event Duration"&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;)[&lt;/STRONG&gt;i&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;]&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;-&lt;/SPAN&gt; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: teal;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt; z&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;++,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif !important;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; z&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif !important;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dt &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt; add row&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(&lt;/STRONG&gt; rowi &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif !important;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dt &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt; run formulas&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif !important;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif !important;"&gt;&lt;STRONG style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt;)&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what does the line that is just &lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: black;"&gt;z&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: 'Courier New'; color: navy;"&gt;;&lt;/SPAN&gt; do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 10:18:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-place-values-into-data-table-cells-using-JSL/m-p/14005#M13144</guid>
      <dc:creator>mdawson69</dc:creator>
      <dc:date>2015-08-31T10:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I place values into data table cells using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-place-values-into-data-table-cells-using-JSL/m-p/14006#M13145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi MD,&lt;/P&gt;&lt;P&gt;i am happy my script was of use to you. when i wrote it the add-in was not available.&lt;/P&gt;&lt;P&gt;regarding the&amp;nbsp; z; i just checked it now and it is not necessary. the loop should work fine without it. I used to think you have to have the z in the for loop in order for it to count the times it goes through.&lt;/P&gt;&lt;P&gt;when testing the script it helped me control its action by having the number of the loop available all the time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Ron.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 09:12:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-place-values-into-data-table-cells-using-JSL/m-p/14006#M13145</guid>
      <dc:creator>ron_horne</dc:creator>
      <dc:date>2015-09-02T09:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I place values into data table cells using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-place-values-into-data-table-cells-using-JSL/m-p/14007#M13146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ron.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is good to know. That lines seemed to be extraneous, but as JSL is a scripting language and I have just started authoring my own scripts—I have actually been using JMP's scripting capabilities for a few years, but it was mostly saving scripts to a data table from a platform and performing a few tweaks when needed—I was not sure if or what it was doing in relation to adding the rows. At first, had a wild mad guess it may have had something to do with pre-populating the rows, I realized that the Add Row was doing that in an undocumented fashion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Speaking of which, according to the JMP Scripting Guide, &lt;SPAN style="color: #000000; font-family: 'Courier New';"&gt;Add Rows&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #000000;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New';"&gt;number&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #000000;"&gt;)&lt;/STRONG&gt; adds the specified &lt;EM&gt;number&lt;/EM&gt; of rows, but the inner loop adds one new row at a time based on your event duration and copies the column values in the source row, contained as a list in &lt;SPAN style="color: #000000; font-family: 'Courier New';"&gt;rowi&lt;/SPAN&gt;, into the new row. Kudos to you on figuring out this undocumented capability. This was one of the reasons I got stuck, as I have considerable programming experience and can often figure out a new language as long as the syntax is well documented. Nothing I have found in JMP's documentation mentions that the Add Rows function can accept a variable containing the list of column values for a specific row as a parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 10:59:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-place-values-into-data-table-cells-using-JSL/m-p/14007#M13146</guid>
      <dc:creator>mdawson69</dc:creator>
      <dc:date>2015-09-02T10:59:56Z</dc:date>
    </item>
  </channel>
</rss>

