Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Name of method I'm in?
Message
De
06/11/2001 18:15:40
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, États-Unis
 
 
À
06/11/2001 18:08:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00578270
Message ID:
00578288
Vues:
19
Thanks Trey.

John

>>Is there any way to determine the name of the method I'm in at runtime?
>>
>>TIA
>>
>>John
>
>PROGRAM()
>
>In a class method, program() returns "CLASS.METHOD" - i.e., name of class + "." + name of method
>
>For just the method:
>
lcProgram = PROGRAM()
>lcProgram = Substr(lcProgram, At(".", lcProgram)+1)
>
>For more detail (exact vcx, prg, etc.), use SYS(16)
>
>HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform