Purpose |
Return a 38-byte human-readable Globally Unique
Identifier (GUID) or Universally Unique
Identifier (UUID) string from a 16-byte GUID
|
Syntax |
id$ = GUIDTXT$(guid16$) |
Remarks |
The GUIDTXT$ function takes a string parameter guid16$ that must be exactly 16-bytes long (and represents a 128-bit GUID string), and returns a 38-byte GUID text string. guid16$ is usually a GUID variable but may also be a dynamic or fixed-length string, etc. The GUIDTXT$ function is the logical complement to the GUID$ function. |
Restrictions |
If any errors are encountered, GUIDTXT$ returns a null (zero-length) string instead of the 38-byte GUID text string. |
See also |
DIM, CLSID$, GUID$, INTERFACE/END INTERFACE, ISNOTHING, ISOBJECT, OBJECT, OBJACTIVE, OBJPTR, OBJRESULT, PROGID$, SET |
Example |
oID1$ = GUID$("{01234567-89AB-CDEF-FEDC-BA9876543210}") oID2$ = GUIDTXT$(oID1$) |