Hi Peter, this would not work because if as David says in his post that SYS(2015) only returns
"unique on a given CPU/clock. So it's possible that two users may generate the same number in a network application" then your "microsleep" would be running on all machines too and therefore you're back to the same problem.
Have a look at what Tamor Granor said
Re: Sys(3) Unique Test Thread #
746521 Message #
746648 running on local PCs.
>Hi David,
>You could also introduce a microsleep into the UDF
>
>FUNCTION GetUniqueID()
> inkey(0.001)
> return sys(2015)
>ENDFUNC
>
>or alternatively use Declare Sleep etc etc
>
>Peter Easson, Sydney
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.