Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique Temporary File Names
Message
From
30/07/2003 16:20:16
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00813444
Message ID:
00815110
Views:
10
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
>
>:)
Previous
Reply
Map
View

Click here to load this message in the networking platform