Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CASE permutations
Message
 
 
À
07/09/2007 23:10:10
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01253160
Message ID:
01253168
Vues:
17
<snip>
>>but not by much. The main thing that's going to simplify it is figuring out whats the same in each "* Do Something" and programing around that.
>
>Interesting. Ok, each CASE will create cursors with different structures, then return the alias for that particular cursor to the calling program to be populated.

You can avoid DO CASE altogether if you make your code data driven by storing info reqired by 'Do Something' in each case in a table with 'MessageType and CursorType' as key fields. You wouldn't have to modify code at all to add new types.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform