Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Large Application Doform() vs AbstractFactory
Message
 
À
25/06/2002 09:38:48
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00623680
Message ID:
00672040
Vues:
13
Gary,

I've modified your code slightly, although it's functionally equivalent:
PROCEDURE AddLib

LPARAMETERS tcLib, tcFile

LOCAL ARRAY laLibArray[1]

IF NOT UPPER(tclib) + '.VCX' $ SET('CLASSLIB')
   IF PCOUNT() = 1
      SET CLASSLIB TO (tcLib) ADDITIVE
   ELSE
      ALINES(laLibArray, tcLib, .T., ',')
      FOR EACH tcLib IN laLibArray
         SET CLASSLIB TO (tcLib) IN (tcFile) ADDITIVE
      ENDFOR
   ENDIF
ENDIF

ENDPROC
If this works for you, I'll make it official!

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform