Re: [Clip] ^$GetFileFirst()$, ^$GetFileNext()$ Errors
- Hi nielarcher,
I cannot answer your questions off the top of my head. However, I
have many Clips that I know work using GetFileFirst/Next in my
DirStuff. Try some of them (by searching for them with the CLB
open as a document and see if they pass OK. If OK, then check
your code against mine... From NoteTab's ^!!Pasteback...
I have a number of Clips that work with directories in my
DirStuff. You'll find some that you can modify to do what you
want. Look for ones that use ^$GetFiles instead of the ones with
the older method using ^$GetFileFirst/^$GetFileNext although those
still have good use for some purposes. Try right clicking over the
Library combobox and choose "Open as Document" and then do a Find
for ^$GetFiles. They'll use ^!SetArray.
NoteTabbers Assistant Library Page
Direct download for DirStuff
Affiliate links for Fookes Software, thanks! :)
Fookes Software Home
Buy Fookes Software Now!
> I've been using these functions for years to parse through a list ofHappy Clip'n!
>files in a directory tree. Occasionally the script bugs out at this
>and if rerun at the original:
>The reported error is "Range check error". Removing the quotes allows
>the clip to run, but the functions are returning empty strings when
>there are definately files left to process.
>Anyone have an idea whether this is solveable or if it's a bug in the
>function/OS and so beyond our control?
>Any idea what circumstances cause the problem, or what "Range check
>error" really means?
All Lists: http://www.fookes.us/maillist.htm