Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enter in a text box
Message
 
À
17/07/2000 15:16:59
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00393414
Message ID:
00393473
Vues:
19
>George....
>
>...........I prefer using this technique over using a numeric for a couple of reasons. Chiefly because I can simply assign the return value in the function based on a logical expression. For example, if the control needs to accept a date field and the date field needs to be a date in the future: llresult = (This.Value > DATE()) acheives the desire effect.
>
>Is this to fulfill the old function axiom.... one entrance and one exit?

Tom,

I apply that to everything. All routines exit at the bottom and no where else. Actually, this also (to a very minor degree, um, miniscule< g >) cuts down on the size of the application because it reduces the number of literals.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform