Page 1 of 1

Troubles with the new UUID function

Posted: Thu Jul 11, 2013 10:38 pm
by Simon
HI,
Using LC 6.1 and the example given in the dictionary:

Code: Select all

put uuid(random) into tRandomUUID
Throws this error in the messagebox:
Script compile error:
Error description: Function: missing '('
Win7 machine.

Tried md5 still an error.

Aside from that what I see from "put uuid()" is a randomly generated... well uuid, each time it is run. This then says that the function cannot be used in a registration tool unless it is recorded. Is that true? Or is there a way to use it like Apples uuid unique to each unit?

Thanks,
Simon

Re: Troubles with the new UUID function

Posted: Thu Jul 11, 2013 10:59 pm
by bn
Hi Simon,

try

Code: Select all

put uuid("random")
Kind regards
Bernd

Re: Troubles with the new UUID function

Posted: Fri Jul 12, 2013 3:13 am
by Simon
Thanks Bernd, that works.
Will try to figure out what namespace_id means now. :)

Simon

Re: Troubles with the new UUID function

Posted: Fri Jul 12, 2013 6:24 pm
by Klaus
Oh, looks like an error in the dictionary!
And I don't have the slightest idea about namespace_id, too :-D

Re: Troubles with the new UUID function

Posted: Fri Jul 12, 2013 7:12 pm
by Simon
"combine" in the dictionary has "teh" :)
Good to know they are human.

Simon