Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does a DEFINE CLASS... class exist?
Message
De
20/05/2003 19:35:47
 
 
À
20/05/2003 18:43:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00787527
Message ID:
00790821
Vues:
21
>Hi Fred,
>
>Problem is the class I'm looking for is being created in code with a DEFINE CLASS command.
>
>APROCINFO() is limited to finding functions and procedures contained in a procedure library (.prg) file. I already know that the procedure library in fact contains the function that contains the DEFINE CLASS command.
>
>What I need to know is, after I run the DEFINE CLASS command, did the class actually get defined? VFP has this nasty problem of NOT defining the class, yet NOT throwing an error of any kind.
>
>Right now I'm trapping for errors during the DEFINE CLASS call that would indicate the class failed to define, but this approach is not at all certain. Whatever I do has to work at run-time.
>
>Regards,

I have no idea what you mean by "VFP has this nasty problem of NOT defining the class". I've never seen it not error when compiling if there's a problem to that extreme, and I've made pretty extensive use of .PRG based classes in some of my work. Got an example?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform