Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Readme method
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00357944
Message ID:
00358234
Views:
10
Hi Doug,

>So all that method does is return the comments on how to run the routine? How would you code that so it returned something, could you give me an example?

The zReadMe routine that VMP uses wraps text in #IF .f. #ENDIF so it doesn't compile.

I had a short comment in there for the COM server (it was a simple one for wrapping the Cipher50.fll) and I didn't feel like creating a ReadMe, so I just took out the #IF #ENDIF, and wrapped my Comments like this:
LOCAL cString

cString = "My Text" + CHR(13) ;
+ "My Text" + CHR(13) ;
...
+ "End of My Text" + CHR(13) 

RETURN cString
No biggie, but I wasn't thinking of it as an anything but a quick kluge, because the VB person doesn't like extra files, and I didn't feel like explaining how to call it :)

HTH,
Bill
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform