Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ReadMethod won't
Message
From
20/09/1999 17:44:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
ReadMethod won't
Miscellaneous
Thread ID:
00266917
Message ID:
00266917
Views:
57
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
Scott D. Grabo
Chief Information Officer
Occupational Health Group
First Advantage Corporation
Next
Reply
Map
View

Click here to load this message in the networking platform