[Gambas-user] Is there in Gambas a UUID implementation?
Bruce Steers
bsteers4 at gmail.com
Fri May 12 05:39:30 CEST 2023
On Thu, 11 May 2023 at 22:31, Martín <mbelmonte at belmotek.net> wrote:
> Hi,
>
> Is there in Gambas a UUID implementation?
>
> Best regards
>
not heard of one.
Easy enough with shell and uuidgen on most systems
Shell "uuidgen" To sUUID
or
Shell "uuidgen -r" To sUUID
uuidgen --help
Usage:
uuidgen [options]
Create a new UUID value.
Options:
-r, --random generate random-based uuid
-t, --time generate time-based uuid
-n, --namespace ns generate hash-based uuid in this namespace
available namespaces: @dns @url @oid @x500
-N, --name name generate hash-based uuid from this name
-m, --md5 generate md5 hash
-s, --sha1 generate sha1 hash
-x, --hex interpret name as hex string
-h, --help display this help
-V, --version display version
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230512/7065fcda/attachment.htm>
More information about the User
mailing list