TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: LOU SANDERS
from: JAMES GOLDBLOOM
date: 1995-07-21 08:32:00
subject: Re: DIR$ potential problem?

LS->     IF FIleCount > 0 THEN
LS->         DIM DirectoryArray$(1 to FileCount)
Now that is interesting.  In my setup, I have arrays set to $HUGE, and
$DYNAMIC, with a $STACK of 14k, and I also erase the variables and mempack
after the routine which handles easily up to 8,000 netmails with each
being up to 66k!  In other words, up to 8,000 netmails can be read into
(which is usually 7,200 more than most BBS's have sitting in one directory
even on large systems) my routine, which has limits and checks setup
far in advance.  I believe in setting limits, to avoid memory conflicts,
and all my beta testers report no troubles at all under many platforms.
But, like the FREEFILE function, your method is *excellent* and I may
consider it for programs where limits are a tad transparent.
Thanks greatly for your ideas, Lou!
-James
--- QuickBBS 2.80 GoldBase (Zeta-1)
---------------
* Origin: AD Message BBS/10th Year Online! (703)998-2958 (1:109/611@FIDONET)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.