NewID$

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > String functions >

NewID$

 

Description

 

Generate and return a 36-byte human-readable Globally Unique Identifier (GUID) or Universally Unique Identifier (UUID) string.

 

Syntax

 

s = NewID$

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

Restrictions

 

See also

 

String Handling, GUID$, GUIDTXT$

 

Examples

 

Uses "console"
Printl GUIDTXT$(Guid$)
Printl Newid$
WaitKey