Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How often is SYS(2015) changed?
Message
From
07/09/2011 13:08:54
 
 
To
07/09/2011 13:07:22
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01521892
Message ID:
01522916
Views:
39
>>>>>
>>>>>I'm sorry.
>>>>>
>>>>>That is a very excellent idea...
>>>>>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.
>>>
>>>
>>>What do you meant about only creating the name of variable, sir?
>>>I didn't see it.
>>>
>>>
>>>Regards,
>>>Onytoo
>>
>>No, I used wrong words. I meant a temporary value.
>
>Oh.. okay then...
> :)
>
>
>Regards,
>Onytoo

Haven't you heard of constants? <bg>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform