Navigation:  ThinBASIC Language > Data types and variables >

GUID variables

Previous pageReturn to chapter overviewNext page


GUID  data type


GUID variables are a special form of 16-byte string that are used to contain a 128-bit Globally Unique Identifier (GUID), primarily for use with COM Objects.

A GUID variable is assigned a value with the GUID$ function, or with a string equate, and that value usually remains constant throughout the script execution.  The GUID variable is typically used only as a parameter, rather than as a term in an expression.


Example of a text GUID form: {00000000-0000-0000-0000-000000000000}