Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What, really, is NODEFAULT?
Message
De
16/04/1997 13:18:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
What, really, is NODEFAULT?
Divers
Thread ID:
00028566
Message ID:
00028566
Vues:
82
Was coding this morning when I got this thought, so I thought I would ask here.

Is "NODEFAULT" actually a command/clause or is it just a comment??
Here's why I ask:

NODEFAULT is said to be used to prevent the execution of default event/method code.
BUT, according to the documentation (at least the way I read it), *ANY* code in a method/event supercedes the (same) method/event code of the Class. In other words, sub-class method/event code runs INSTEAD OF base clas method/event code for that event/method.
Now, the simple act of including "NODEFAULT" is also the act of including "code" in a method/event, so that in itself would preclude running of the "default" method/event code. In other words, if I simply coded "RETURN" I would get the same result.

What am I missing here???

Jim N.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform