General information
Category:
Coding, syntax & commands
>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only