Edit

Share via


Guid.CreateGuid() Method

Version: Available or changed with runtime version 16.0.

Creates a new unique GUID. The value can then be assigned to a GUID data type or a text data type. Use the text data type if you want to compare the GUID to another text string.

Syntax

Guid :=   Guid.CreateGuid()

Return Value

Guid
 Type: Guid
A new unique GUID.

See Also

Guid data type
Getting started with AL
Developing extensions