<?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: I cant move newly created columns to specific locations in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/I-cant-move-newly-created-columns-to-specific-locations/m-p/667834#M85599</link>
    <description>&lt;P&gt;Well, kind of.&amp;nbsp; I tried them, because it can take a list of columns.&amp;nbsp; In this case, it seems to want even a single column in list format.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 13:00:35 GMT</pubDate>
    <dc:creator>mmarchandTSI</dc:creator>
    <dc:date>2023-08-14T13:00:35Z</dc:date>
    <item>
      <title>I cant move newly created columns to specific locations</title>
      <link>https://community.jmp.com/t5/Discussions/I-cant-move-newly-created-columns-to-specific-locations/m-p/667575#M85571</link>
      <description>&lt;P&gt;I cant make my code work. I am trying to move some newly created columns to specific locations but I get the next error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Unrecognized key word"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you guys have any ideas of whats wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ColDelta=(ColNum-2)/2;
ColStart=4;

For(k=1, k&amp;lt;=ColDelta, k++,
	
	TabData &amp;lt;&amp;lt; Move Selected Columns(
		Column (ColNum+k), after(Column(ColStart))
	);
	ColStart=ColStart+3;
	
	
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Aug 2023 19:47:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/I-cant-move-newly-created-columns-to-specific-locations/m-p/667575#M85571</guid>
      <dc:creator>CrownofTears</dc:creator>
      <dc:date>2023-08-11T19:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: I cant move newly created columns to specific locations</title>
      <link>https://community.jmp.com/t5/Discussions/I-cant-move-newly-created-columns-to-specific-locations/m-p/667604#M85576</link>
      <description>&lt;P&gt;Try adding curly braces, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ColDelta=(ColNum-2)/2;
ColStart=4;

For(k=1, k&amp;lt;=ColDelta, k++,
	
	TabData &amp;lt;&amp;lt; Move Selected Columns(
		{Column (ColNum+k)}, after(Column(ColStart))
	);
	ColStart=ColStart+3;
	
	
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Aug 2023 20:22:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/I-cant-move-newly-created-columns-to-specific-locations/m-p/667604#M85576</guid>
      <dc:creator>mmarchandTSI</dc:creator>
      <dc:date>2023-08-11T20:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: I cant move newly created columns to specific locations</title>
      <link>https://community.jmp.com/t5/Discussions/I-cant-move-newly-created-columns-to-specific-locations/m-p/667612#M85578</link>
      <description>&lt;P&gt;Perfect! It worked perfectly. Do you have an explanation on why or when I should use the curly braces?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 22:18:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/I-cant-move-newly-created-columns-to-specific-locations/m-p/667612#M85578</guid>
      <dc:creator>CrownofTears</dc:creator>
      <dc:date>2023-08-11T22:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: I cant move newly created columns to specific locations</title>
      <link>https://community.jmp.com/t5/Discussions/I-cant-move-newly-created-columns-to-specific-locations/m-p/667834#M85599</link>
      <description>&lt;P&gt;Well, kind of.&amp;nbsp; I tried them, because it can take a list of columns.&amp;nbsp; In this case, it seems to want even a single column in list format.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 13:00:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/I-cant-move-newly-created-columns-to-specific-locations/m-p/667834#M85599</guid>
      <dc:creator>mmarchandTSI</dc:creator>
      <dc:date>2023-08-14T13:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: I cant move newly created columns to specific locations</title>
      <link>https://community.jmp.com/t5/Discussions/I-cant-move-newly-created-columns-to-specific-locations/m-p/667864#M85604</link>
      <description>&lt;P&gt;You might find syntax information sometimes from JMP Help &lt;A href="https://www.jmp.com/support/help/en/17.0/#page/jmp/rearrange-and-move-columns.shtml?os=win&amp;amp;source=application#ww764527" target="_blank" rel="noopener"&gt; Scripting Guide &amp;gt; Data Tables &amp;gt; Work with Columns &amp;gt; Rearrange and Move Columns&lt;/A&gt; or JSL Syntax Reference (can be found from &lt;A href="https://www.jmp.com/en_us/support/jmp-documentation.html" target="_blank" rel="noopener"&gt;JMP Documentation page&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1692023185552.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55737iAEA323DD538D48FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1692023185552.png" alt="jthi_0-1692023185552.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 14:27:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/I-cant-move-newly-created-columns-to-specific-locations/m-p/667864#M85604</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-08-14T14:27:00Z</dc:date>
    </item>
  </channel>
</rss>

