Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Printer Properties Beta Testers Needed
Message
De
20/09/2005 06:34:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
20/09/2005 06:03:06
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01050441
Message ID:
01051180
Vues:
18
Metin,
IMHO substr(sys(2015),3) is not safe either (even if not shared) because it's time dependant and from 2007 3rd character would be a digit. What I used was something like this instead:

stuff(sys(2015),9,0,'.')

for a unique (local) filename. Or if would use a substr then:

'_'+substr(sys(2015),4) for a relatively short life cycled temp file.
Cetin

>I think so you right, but look that thread gone another way and fallin to sys(3)... :))))
>
>In Turkey we says: "A maniac (it's me now..hehe...)throws a stone to a well, amd thousand intelligent can't get out..."
>
>
>>>>SYS(2015) is not safe either, SUBSTR(SYS(2015)3) is safe AFAIK.
>>>
>>>Why?
>>
>>To be honest, I am not sure. It may be for compatibility with old DOS machines, or Novell servers which are not configured to handle long file names.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform