Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How often is SYS(2015) changed?
Message
De
07/09/2011 09:25:59
 
 
À
07/09/2011 08:57:17
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01521892
Message ID:
01522891
Vues:
52
>>>But I prefer to use hexadecimal value that will always result 4 bytes length.
>>>
>>>
>>>m.lcNewID = SYS(2015) + RIGHT(TRANSFROM(Application.ThreadId, "@0"), 4)
>>>
>>>
>>>What do you think, sir?
>>>
>>>
>>>Regards,
>>>Onytoo
>>
>>You are only creating the name of a variable, so the difference will be zero.
>
>Actually, one: one byte per key value.

My point was that the length of the variable itself, should have close to no influence on the result. And by result I mean the processing time.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform