R
rick
Guest
What is the syntax of the libInit file when loading multiple files.
Thanks
Thanks
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Get a list of files in a directory with getDirFiles() then use loadi()What is the syntax of the libInit file when loading multiple files.
Thanks
any chance you can post an example?On Jul 9, 7:22 am, rick <ej...@pacbell.net> wrote:
What is the syntax of the libInit file when loading multiple files.
Thanks
Get a list of files in a directory with getDirFiles() then use loadi()
on each file like normal.
libInit.il is just a SKILL file. I don't see why it's any different from loadingOn Jul 9, 1:09 am, I-F AB<cop0...@gmail.com> wrote:
On Jul 9, 7:22 am, rick<ej...@pacbell.net> wrote:
What is the syntax of the libInit file when loading multiple files.
Thanks
Get a list of files in a directory with getDirFiles() then use loadi()
on each file like normal.
any chance you can post an example?
Thanks
rick wrote, on 07/09/10 15:52:
On Jul 9, 1:09 am, I-F AB<cop0...@gmail.com> wrote:
On Jul 9, 7:22 am, rick<ej...@pacbell.net> wrote:
What is the syntax of the libInit file when loading multiple files.
Thanks
Get a list of files in a directory with getDirFiles() then use loadi()
on each file like normal.
any chance you can post an example?
Thanks
libInit.il is just a SKILL file. I don't see why it's any different from loading
multiple files anywhere else.
If you have (say) a "SKILL" directory within your library, you could do:
let((libDir)
libDir=ddGetObj("myLibName")~>readPath
foreach(file rexMatchList("\.il$" getDirFiles(strcat(libDir "/SKILL")))
loadi(strcat(libDir "/SKILL/" file)
)
)
Note this is not tested - off the top of my head. Hopefully it's enough of a
pointer.
Andrew.
Hi,On Jul 9, 10:52 am, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm
wrote:
rick wrote, on 07/09/10 15:52:
On Jul 9, 1:09 am, I-F AB<cop0...@gmail.com> wrote:
On Jul 9, 7:22 am, rick<ej...@pacbell.net> wrote:
What is the syntax of the libInit file when loading multiple files.
Thanks
Get a list of files in a directory with getDirFiles() then use loadi()
on each file like normal.
any chance you can post an example?
Thanks
libInit.il is just a SKILL file. I don't see why it's any different from loading
multiple files anywhere else.
If you have (say) a "SKILL" directory within your library, you could do:
let((libDir)
libDir=ddGetObj("myLibName")~>readPath
foreach(file rexMatchList("\.il$" getDirFiles(strcat(libDir "/SKILL")))
loadi(strcat(libDir "/SKILL/" file)
)
)
Note this is not tested - off the top of my head. Hopefully it's enough of a
pointer.
Andrew.
my apologies for being syntax-ically challenged!!! Can I just have a
loadi for each file? BTW, this is
for Assura
Thanks
Rick
My guess is that that is "for Assura" meaning that you want to ensure your pcellAndrew.
my apologies for being syntax-ically challenged!!! Can I just have a
loadi for each file? BTW, this is
for Assura
Thanks
Rick
Hi,
Do you mean you want to read some rule files for Assura
implementation?
That should be controlled in the runset .rsf file.
Of course for any normal SKILL file you can just use loadi() on each
file.
Best regards,
I-FAB