Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Improvement for GetClassName()
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Improvement for GetClassName()
Miscellaneous
Thread ID:
00394940
Message ID:
00394940
Views:
36
I'd like to create objects that are stored in external VCXs, but I don't want to compile them in APP or EXE.
It looks like classes.dbf can handle this if I provide cLibrary, but don't provide cFileName. However, GetClassName method of cAbstractFactory class adds an external class library only if cFileName is filled.

Below is the code that makes GetClassName more flexible:

*{ Commented by SGM at 08:14:26 on July 20, 2000
* IF NOT EMPTY(lcLibrary) AND NOT EMPTY(lcFileName)
* AddLib(lcLibrary, lcFileName)
IF NOT EMPTY(lcLibrary)
IF EMPTY(lcFileName)
AddLib(lcLibrary)
ELSE
AddLib(lcLibrary, lcFileName)
ENDIF
*} End Commenting 08:14:26 - July 20, 2000
Serge Matsevilo, Seattle, WA, USA
Senior Programmer/Analyst,
iServ Systems, Inc.
e-mail: smatsevilo@iservsystems.com
Next
Reply
Map
View

Click here to load this message in the networking platform