Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IS SYS(2015) really unique?
Message
 
 
To
16/03/2003 22:35:51
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00766401
Message ID:
00766422
Views:
22
From where do you take your assumption that it is base on date and time? I heard that the machine name had something to do with it. The Date and time part makes it sequencial.




>Hi Luc,
>
>SYS(2015) is completely based on date and time and it uses only part from the date. It is guaranteed to be unique within the same process if it doesn't run more than a century. Given that, there is a possibility to get the same value within another process or after a century.
>The fact that calling the function in a loop for some time doesn't produce duplicate can not be taken as a proof.
>
>Thanks,
>Aleksey Tsingauz.
Luc Nadeau
lnadeau@neova.ca

"the theory, it is when all is known and that nothing works. The practice, it is when all works and that nobody knows why." - Albert Einstein (Nobel of physique 1921)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform