<?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 Can I include all the jsl files in a directory? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-I-include-all-the-jsl-files-in-a-directory/m-p/241445#M47698</link>
    <description>&lt;P&gt;I'd like to have a directory of all my jsl functions but I don't want to have to include each file individually.&amp;nbsp; Is there a way to include all jsl files in a directory, (e.g.&amp;nbsp;Include("C:...\Documents\JMPfunctions\*.jsl"); ).&amp;nbsp; Maybe just make and maintain a master file that includes all the functions and then include the master file?&amp;nbsp; Is there a more elegant way?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2020 22:19:57 GMT</pubDate>
    <dc:creator>pcarroll1</dc:creator>
    <dc:date>2020-01-15T22:19:57Z</dc:date>
    <item>
      <title>Can I include all the jsl files in a directory?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-include-all-the-jsl-files-in-a-directory/m-p/241445#M47698</link>
      <description>&lt;P&gt;I'd like to have a directory of all my jsl functions but I don't want to have to include each file individually.&amp;nbsp; Is there a way to include all jsl files in a directory, (e.g.&amp;nbsp;Include("C:...\Documents\JMPfunctions\*.jsl"); ).&amp;nbsp; Maybe just make and maintain a master file that includes all the functions and then include the master file?&amp;nbsp; Is there a more elegant way?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 22:19:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-include-all-the-jsl-files-in-a-directory/m-p/241445#M47698</guid>
      <dc:creator>pcarroll1</dc:creator>
      <dc:date>2020-01-15T22:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can I include all the jsl files in a directory?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-include-all-the-jsl-files-in-a-directory/m-p/241456#M47700</link>
      <description>&lt;P&gt;I pretty much do what you said where I have a file that includes everything I need.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);
self_title = current window() &amp;lt;&amp;lt;  Get Window Title();
files = files in directory(".", recursive(1));
for(i=1, i&amp;lt;=nitems(files), i++, 
	if(endswith(files[i], ".jsl") &amp;amp; files[i] != self_title||".jsl", 
		include(files[i])
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Jan 2020 23:08:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-include-all-the-jsl-files-in-a-directory/m-p/241456#M47700</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2020-01-15T23:08:19Z</dc:date>
    </item>
  </channel>
</rss>

