Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DzClass CheckForFile
Message
 
 
À
13/06/2002 09:27:31
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00667829
Message ID:
00667903
Vues:
19
>
>
>Do you have a reason against:
>
>PROTECTED PROCEDURE CreatePath
> LPARAMETERS;
>  tcPath
>
> IF !DIRECTORY(tcPath) THEN
>  MKDIR ALLTRIM(tcPath)
> ENDIF
> RETURN DIRECTORY(tcPath)
>
>ENDPROC
>
>?
>

I like it and will implement in my copy of this class. I would also make changes to the CheckValidPath
...
		lcPath   = addbs(tcPath)
		if not CreatePath(lcPath)
			return ""
		endif
*		lcPath   = addbs(tcPath)
Sorry about "????" returned. It's left from my testing. :)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform