Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

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}

 

Important

 

When passing a GUID variable to function, it is currently necessary to specify the parameter as STRING. ThinBASIC will perform then necessary conversions.

 

Function DisplayGuid(someGuid As string) As String

  MsgBox "The guid is: " & GUIDTXT$(someGuid)

End Function

 

Dim myGuid As Guid = Guid$

DisplayGuid(myGuid)

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software