Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ReadMethod won't
Message
De
21/09/1999 12:46:40
 
 
À
20/09/1999 17:44:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00266917
Message ID:
00267191
Vues:
19
>Hey, all...
>
>I need to document a sizable collection of classes and forms. I've already done this largely within each method, but I now need to extract that and put it in a Word document. Since I have a consistent format for commenting and PARAMETERizing the methods, I'd love to use ReadMethod for this purpose.
>
>Trouble is, ReadMethod is returning an empty string. My syntax is:
>
>
>loAppTools = NEWOBJECT("AppFunctions", "AppTools")
>lcMethodText = loAppTools.ReadMethod("BuildStr")
>
>
>and I get nothing. I've tried experimenting with the case (all upper, lower, mixed) and it makes no difference. The help says, "Returns the text of the specified method. Available at design time and run time." but gives no examples.
>
>Any ideas? Thanks...
>
>Scott

I've come up with a possible solution. It really depends on what you need it for. If you're interested, let me know.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform