Uuid Package

Name

Uuid - Allocate universally unique identifiers.

Synopsis

package require uuid ?1.0?
uuid ?-nil?

Description

The Uuid package is a dynamically loadable extension for Windows. Once loaded into an interpreter it creates a single command uuid that uses the operating-system services to allocate universally unique identifiers ("UUIDs") and returns them in string form. If invoked with the -nil option, uuid returns the nil UUID, which is typically used in the same way as a NULL pointer.

Example

The following code uses the uuid command to create a unique file name for a temporary file:

package require uuid
set file_name [file join temp [uuid].dat]

Author

Copyright (c) 1998 Nat Pryce. See the file readme.txt for license terms.