{{tag>category:"None Specified" author:"Oystein Reigem" author:" amcauley@sprezzatura.com [url=http://www.sprezzatura.com]Sprezzatura Ltd[/url]" author:"akaplan@sprezzatura.com - [url=http://www.sprezzatura.com]Sprezzatura Group[/url]"}} [[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]] ==== DirList function (None Specified) ==== === At 17 MAR 1999 12:43:32PM Oystein Reigem wrote: === The docs say "DirList() may be placed in a loop to obtain all the filenames in a large directory". What does "large" mean? - Oystein - ---- === At 17 MAR 1999 01:06PM amcauley@sprezzatura.com [url=http://www.sprezzatura.com]Sprezzatura Ltd[/url] wrote: === [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. [Andrew McAuley] [Sprezzatura Group] [World Leaders in all things RevSoft] [] [] [
][/notag]
---- === At 17 MAR 1999 01:38PM Oystein Reigem wrote: === Andrew, A thousand *bytes* and not a thousand *files*? Not much. But that was useful information. Thanks. - Oystein - ---- === At 18 MAR 1999 10:03AM akaplan@sprezzatura.com - [url=http://www.sprezzatura.com]Sprezzatura Group[/url] wrote: === initdir 'C:\REVSOFT\OINSIGHT\LATEST\*.*' dim files(10) mat files=' for i=1 to 10 [b]   [/b]files(i)=dirlist() next brings back all of Revboot in files(1) akaplan@sprezzatura.com [url=http://www.sprezzatura.com]Sprezzatura Group[/url] [img]http://www.sprezzatura.com/zz.jpg[/img] ---- === At 18 MAR 1999 11:18AM Oystein Reigem wrote: === 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 - [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=28BDFC1003D21EBF85256737005BE09E|View this thread on the Works forum...]]