Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many CASE in a DO CASE ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01227909
Message ID:
01228010
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform