Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sys(3) Function
Message
De
13/11/1998 15:44:35
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00157162
Message ID:
00157535
Vues:
17
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 ...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform