Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unique Temporary File Names
Message
De
30/07/2003 16:20:16
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00813444
Message ID:
00815110
Vues:
11
There is no need to introduce a delay, simply do
lcMyName = sys(2015)
do while lcMyName == sys(2015)
    lcMyName = sys(2015)
enddo

return lcMyName
It's faster and "error free" (asuming a program can be error free).


>I had the same problem with creating lots of random numbers, I had to stick a random delay in seconds in the loop. This solved the problem.
>
>Many thanks for reminding me
>
>:)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform