Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many CASEs in DO CASE?
Message
De
01/06/2006 17:31:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01126584
Message ID:
01126610
Vues:
26
>>>>I guess the only limit is the limit for a procedure's total size.
>>>>
>>>>I'd also say that it doesn't matter (anymore) if a chr or num is "faster" because in today's CPUs the difference wouldn't be noticeable. Remember, you aren't necessarily executing all the CASEs every time.
>>>>
>>>>cheers
>>>
>>>Good point that you and Borislav made about the size of the procedure.
>>>I don't think I will hit it, yet, but need to consider it.
>>>
>>>Thank you for your input.
>>
>>You don't have 64K limit. I don't think you'd hit any limit with several hundred cases. Prefer numeric.
>>Cetin
>
>Cetin,
>
>Thank you for your help. Now after everybody criticized me for my bad design <g>, I found an easy approach without the DO CASE.

Good it wasn't only me who replied and you went another path:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform