Message
From
21/12/2006 10:24:01
Bill Drew
Independent Consultant
Chicago, Illinois, United States
 
 
To
20/12/2006 17:14:03
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01179343
Message ID:
01179571
Views:
16
>Maybe a .prg would be simpler - just
>
>
>text textmerge to lcPrgtext noshow
>define class <<classname>> as custom
>
><<lcProperties>>
>
><<lcMethods>>
>enddefine
>endtext
>strtofile(lcPrgText, lcPrgFile)
>compile (lcPrgFile)
>
>
>And you get your fxp. But since we don't need to turn this into another "prg vs vcx" thread, whichever works for you is OK.

Dragan,
That was very helpful. I'm going to use the prg method. Simpler is better.
The only benefit to the vcx might be that I would be able to replace smaller sections of the program as the rules change -- rather than ship an entire fxp. But it is probably only marginally better and not worth the complexity of vcx creation. I didn't hear anybody say that there would be a performance benefit from the vcx approach.
Bill
Previous
Next
Reply
Map
View