Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DzClass CheckForFile
Message
De
13/06/2002 09:41:46
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:
00667908
Vues:
16
You are welcome ::)
>>
>>
>>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. :)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform