Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many CASE in a DO CASE ?
Message
 
To
23/05/2007 09:55:04
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01227909
Message ID:
01228010
Views:
17
Hi Marc,

>What is the limit of CASE in a DO CASE ?

The number depends on the size of the procedure. In VFP 8 and before the entire procedure cannot exceed 64 KB which roughly equates to 3600 CASE statements if you don't have any code between them. Less if you have code. The limit in VFP 9 should be around 200 millions, but I'm sure nobody has tested that yet. In VFP 9 you will notice an increase in code size (circa 20%) when you go beyond 64 KB for a procedure with CASE statements.
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform