Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Some times when you place text in the methods, that is the only point that you see the parameters. Maybe if you write to each method a simple chr(13) and then read the method the parameters will appear. This is just a WAG.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement