On May 23, 2007, at 8:26 AM, [EMAIL PROTECTED] wrote:
> <http://fox.wikis.com/wc.dll?Wiki~GUID~VFP>
>
> Simple how to make a guid in VFP. Simple did I say?
>
> Bad Steve!
Of course, it's a one-liner in Dabo, and you have your choice of
random or machine/network-based UUIDs.
>>> import dabo
>>> print dabo.lib.getRandomUUID()
6c91f7b1-b7d8-418f-a8f5-0e050d079728
>>> print dabo.lib.getRandomUUID()
af9574d5-d693-49a6-ba3f-cc9ddcbc6d09
>>> print dabo.lib.getRandomUUID()
4e2ec67a-9e9e-40cf-bea4-bd940d6f36ac
>>> print dabo.lib.getRandomUUID()
7b9b31de-e1dc-4ce4-ac0c-a469ee9ac1e6
>>> print dabo.lib.getMachineUUID()
92528e84-093a-11dc-8390-0016cb8f65d2
>>> print dabo.lib.getMachineUUID()
92e9f2c4-093a-11dc-8390-0016cb8f65d2
>>> print dabo.lib.getMachineUUID()
93430d00-093a-11dc-8390-0016cb8f65d2
>>> print dabo.lib.getMachineUUID()
939fd5b2-093a-11dc-8390-0016cb8f65d2
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.