<?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: Set File List with a variable during Multiple File Import in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Set-File-List-with-a-variable-during-Multiple-File-Import/m-p/776878#M95821</link>
    <description>&lt;P&gt;this is a known bug:&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/JMP-Wish-List/Advanced-syntax-highlighting-in-JSL-Editor-does-the-function/idc-p/772428/highlight/true#M5779" target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/JMP-Wish-List/Advanced-syntax-highlighting-in-JSL-Editor-does-the-function/idc-p/772428/highlight/true#M5779&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Reply from JMP support (TS - 00152969);&lt;BR /&gt;&lt;EM&gt;I've spoken with Development about the issue. The issue is a defect and I have reported it to Development so it can be resolved in a future JMP version.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-MESSAGE title="Advanced syntax highlighting in JSL Editor - does the function evaluate it's argument?" uid="729460" url="https://community.jmp.com/t5/JMP-Wish-List/Advanced-syntax-highlighting-in-JSL-Editor-does-the-function/m-p/729460#U729460" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&amp;nbsp;could help to find out to which level an argument is evaluated and if Eval is needed or a more complex structure like Substitute (Expr(), ...) or&amp;nbsp;Eval(Eval Expr(.... Expr(arg).... ))&amp;nbsp; - like in this case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides advanced syntax highlighting - for arguments where such a complex structure is mandatory, JSL Editor could directly show a warning that this syntax is missing. Same for cases where Eval (arg) is needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scripters, please give the wish a Kudo!&lt;BR /&gt;Expression handling in JSL will be &lt;U&gt;&lt;STRONG&gt;fun&lt;/STRONG&gt; &lt;/U&gt;once the new functionality is available.&lt;/P&gt;</description>
    <pubDate>Sat, 27 Jul 2024 07:09:44 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2024-07-27T07:09:44Z</dc:date>
    <item>
      <title>Set File List with a variable during Multiple File Import</title>
      <link>https://community.jmp.com/t5/Discussions/Set-File-List-with-a-variable-during-Multiple-File-Import/m-p/776848#M95816</link>
      <description>&lt;P&gt;I'm using JMP 18.0.1 and I noticed the new option for Multiple File Import that allows the user to provide a list files (or directories) to import.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can successfully use it in a script like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Multiple File Import(
	&amp;lt;&amp;lt;Set Use File List( 1 ),
	&amp;lt;&amp;lt;Set File List( { "C:\file1.csv", "C:\file2.csv", "C:\file3.csv"  } ),
	&amp;lt;&amp;lt;Set Import Mode( "CSVData" ),
	&amp;lt;&amp;lt;Set Stack Mode( "Stack Similar" ),
) &amp;lt;&amp;lt; Import Data;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try to move the list to a variable, so that I can add/remove elements dynamically, the import stops working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;fileList = { "C:\file1.csv", "C:\file2.csv", "C:\file3.csv"  };

Multiple File Import(
	&amp;lt;&amp;lt;Set Use File List( 1 ),
	&amp;lt;&amp;lt;Set File List( fileList ),
	&amp;lt;&amp;lt;Set Import Mode( "CSVData" ),
	&amp;lt;&amp;lt;Set Stack Mode( "Stack Similar" ),
) &amp;lt;&amp;lt; Import Data;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's no error, but zero tables are created. Even when I replace "Import Data" with "&lt;SPAN&gt;Create Window", I see that in the first case the list is populated, whereas it stays empty in the second case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Am I missing something here? Am I trying to set this option in the wrong way?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 23:23:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-File-List-with-a-variable-during-Multiple-File-Import/m-p/776848#M95816</guid>
      <dc:creator>simopod</dc:creator>
      <dc:date>2024-07-26T23:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set File List with a variable during Multiple File Import</title>
      <link>https://community.jmp.com/t5/Discussions/Set-File-List-with-a-variable-during-Multiple-File-Import/m-p/776878#M95821</link>
      <description>&lt;P&gt;this is a known bug:&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/JMP-Wish-List/Advanced-syntax-highlighting-in-JSL-Editor-does-the-function/idc-p/772428/highlight/true#M5779" target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/JMP-Wish-List/Advanced-syntax-highlighting-in-JSL-Editor-does-the-function/idc-p/772428/highlight/true#M5779&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Reply from JMP support (TS - 00152969);&lt;BR /&gt;&lt;EM&gt;I've spoken with Development about the issue. The issue is a defect and I have reported it to Development so it can be resolved in a future JMP version.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-MESSAGE title="Advanced syntax highlighting in JSL Editor - does the function evaluate it's argument?" uid="729460" url="https://community.jmp.com/t5/JMP-Wish-List/Advanced-syntax-highlighting-in-JSL-Editor-does-the-function/m-p/729460#U729460" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&amp;nbsp;could help to find out to which level an argument is evaluated and if Eval is needed or a more complex structure like Substitute (Expr(), ...) or&amp;nbsp;Eval(Eval Expr(.... Expr(arg).... ))&amp;nbsp; - like in this case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides advanced syntax highlighting - for arguments where such a complex structure is mandatory, JSL Editor could directly show a warning that this syntax is missing. Same for cases where Eval (arg) is needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scripters, please give the wish a Kudo!&lt;BR /&gt;Expression handling in JSL will be &lt;U&gt;&lt;STRONG&gt;fun&lt;/STRONG&gt; &lt;/U&gt;once the new functionality is available.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jul 2024 07:09:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-File-List-with-a-variable-during-Multiple-File-Import/m-p/776878#M95821</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-07-27T07:09:44Z</dc:date>
    </item>
  </channel>
</rss>

