Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sys(3) Function
Message
From
13/11/1998 15:44:35
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00157162
Message ID:
00157535
Views:
16
Just got a fast machine and thought I'd take it for test spin. On
a real fast machine I couldn't generate a dup.

>>Just out of curiosity, I generated 40,000 numbers using SYS(3) in a loop on a 450 mhz machine (NT4.0, 96 mb ram) and I didn't get any duplicates. Strange...
>>
>Hi Raymond,
>
>Well, if I recall correctly, this thread started because someone has gotten duplicates. It was mentioned earlier that even the help file warns that this may be a possibility. Here's the quote from it (italics are mine):
>SYS(3) <I>may</I> return a non-unique name when issued successionally on a fast computer. Use SUBSTR(SYS(2015), 3, 10) to create unique, legal eight character file name.
Some days it's not worth chewing through the leather straps ...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform