Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DoDefault() not executing
Message
De
07/07/2000 14:25:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00389357
Message ID:
00389618
Vues:
16
The code in the dodefault() section returns control to the valid method, even if there is a Return 0, and will process the rest of the code in the valid method. Therefore the code in the Dodefault section is ineffective.

My workaround is to initialize a variable prior to calling the DoDefault(). If the DoDefault results in a return 0, the variable is set to .f.. There is code in the valid statement immediately after the DoDefault which returns 0 if the variable is .f.

This works but is there an easier way?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform