The docs say "DirList() may be placed in a loop to obtain all the filenames in a large directory". What does "large" mean?
- Oystein -
[notag]No exact figures but it seems to bring back a K or so of info at a time so I ALWAYS use a loop just to be safe.
[<A HREF="mailto:amcauley@sprezzatura.com" onMouseOver="window.status='Why not click here to send me Email?';return(true)">Andrew McAuley</A>]
[<A HREF="http://www.sprezzatura.com" onMouseOver="window.status='Why not click here to visit our web site?';return(true)">Sprezzatura Group</A>]
[<I>World Leaders in all things RevSoft</I>]
[<img src="http://www.sprezzatura.com/zz.gif">]
[<script language="javascript">function openNewPage () {window.location.href=(document.TOCNavigator.pageToGoTo.options[document.TOCNavigator.pageToGoTo.selectedIndex].value);document.TOCNavigator.pageToGoTo.selectedIndex="0";}end hiding from non-JS browsers –></script>] [<FORM ACTION "" METHOD=GET NAME="TOCNavigator" <SELECT NAME="pageToGoTo" SIZE=1 onChange="openNewPage()"> <OPTION>Pull down this menu to choose whereabouts on Sprezz site to go <OPTION VALUE="http://www.sprezzatura.com">Home Page <OPTION VALUE="http://www.sprezzatura.com/whatsnew.htm">What's New <OPTION VALUE="http://www.sprezzatura.com/senl.htm">SENL <OPTION VALUE="http://www.sprezzatura.com/patches.htm">Download S/LIST <OPTION VALUE="mailto:support@sprezzatura.com">Send mail to support at Sprezzatura <OPTION VALUE="mailto:sales@sprezzatura.com">Send mail to sales at Sprezzatura </SELECT> </FORM>][/notag] </QUOTE> —- === At 17 MAR 1999 01:38PM Oystein Reigem wrote: === <QUOTE>Andrew, A thousand *bytes* and not a thousand *files*? Not much. But that was useful information. Thanks. - Oystein - </QUOTE> —- === At 18 MAR 1999 10:03AM akaplan@sprezzatura.com - Sprezzatura Group wrote: === <QUOTE>initdir 'C:\REVSOFT\OINSIGHT\LATEST\*.*' dim files(10) mat files=' for i=1 to 10 files(i)=dirlist() next brings back all of Revboot in files(1) akaplan@sprezzatura.com Sprezzatura Group
</QUOTE> —- === At 18 MAR 1999 11:18AM Oystein Reigem wrote: === <QUOTE>Aaron, Thanks. I tried now with a folder with slightly more files, and got files(i) of sizes 3990, 3999, etc. So perhaps the limit is 4000 chars sharp. - Oystein - </QUOTE> View this thread on the Works forum...