Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need a simple FLL
Message
From
22/09/2006 04:55:18
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01154766
Message ID:
01156304
Views:
29
Hi,

"This is true for FoxPro 8.0 and below, but for VFP 9.0 LCK array functions can address up to 65000 rows (non elements !) in a array."

Yes you're right, it's 65000 rows.

But this is a theoretical limit, beyond a specific size the FoxPro array is just too memory hungry.
RELEASE ALL
lnMemory = VAL(SYS(1016))
PUBLIC laArray[65000,16] && to map about 1MB to a FoxPro numerical array
? "~ Used memory for array ", (VAL(SYS(1016)) - lnMemory) / 1024 / 1024, 'MB'
about 1MB of memory usage for 1 row with 65000 columns without assigned data!
conclusion: for any real mass data tasks the array is not useable in practice.


Regards,
Christian
Previous
Reply
Map
View

Click here to load this message in the networking platform