Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Abstract Factory
Message
De
09/05/2001 18:34:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Abstract Factory
Divers
Thread ID:
00505565
Message ID:
00505565
Vues:
59
Kevin,

I'm finally getting a chance to play abit with 6.1 and enjoying it.

One item I came across today I'd like your thoughts on.

When using the abstract factory, I'd like to be able to create non visual classes contained within .PRGs. I put a quick work around in cAbstractFactory : GetClassName as :

IF NOT EMPTY(lcLibrary) AND NOT EMPTY(lcFileName)
AddLib(lcLibrary, lcFileName)
ELSE
* 05/09/2001 awl
IF ! EMPTY(lcFileName)
AddProc( lcFileName )
ENDIF
ENDIF

I'm assuming if lcLibrary is empty and lcFileName isn't, that I've placed a .PRG in that field.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform