Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How often is SYS(2015) changed?
Message
De
26/08/2011 13:06:24
 
 
À
26/08/2011 13:02:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01521892
Message ID:
01521926
Vues:
57
>>Hi,
>>
>>I have a routine where the application gets (via SQL select) records into one cursor from one table, then into another cursor from another table, and then again into the 3rd one. For each cursor I use value of SYS(2015). Since the SQL Select time from one cursor to another may take a second or two or could be less than a second. Can I rely that each value of SYS(2015) is unique if it is called within less than a second?
>>
>>UPDATE: I did a test of running from one .prg SYS(2015) one after another (obviously with less than a second between each) and all names appear to be unique.
>
>
>Hi,
>
>must be a wrong test
>
>try this
>
>clea
>start = 1
>DO WHILE start< 100
>? SYS(2015)
>start = start + 1
>enddo
>
>
>Regards,
>
>Koen

On my machine all the displayed values are different.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform