Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Guaranteed unique number
Message
From
02/03/2005 12:54:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
00992072
Message ID:
00992074
Views:
21
See http://fox.wikis.com/wc.dll?Wiki~GUIDGenerationCode~VFP

>Anyone have the function that will guarantee a unique number?
>The test has to create 2 different numbers in a single line,
>for example: ?str(seconds(),11,4)+str(seconds(),11,4) fails the test.
>The true result needs to be a number [so sys(2015) in a no-go], type casting is used only for the test.
Previous
Reply
Map
View

Click here to load this message in the networking platform