UUID Generation

MisterX b.xavier at internet.lu
Fri Jul 16 04:33:22 CDT 2004


what do you want to accomplish?

Generate or get the file ids?

if it's the later, check out www.sysinternals.com

for the first, internal file id tracking,
just add 1 to a fileID, you can work as many as 2^48 files or folders!

then use the file array object


put filesize(filearray[fileid,"path") into filearray[fileid,"size"]
put filearray[123,"filename") &cR after afilelist


> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of K
> Sent: Friday, July 16, 2004 10:27
> To: use-revolution at lists.runrev.com
> Subject: UUID Generation
> I use UUIDs in a considerable amount of my *NIX and Win32 C++
> applications (Temporary file names, Object Ids etc.).  I was
> wondering if anyone has written a function/command for Runtime Revolution?
> Kevin
> -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
> Disclaimer:
> Any resemblance between the above views and those of my
> employer, my terminal, or the view out my window are purely
> coincidental.
> Any resemblance between the above and my own views is non-deterministic.
>  The question of the existence of views in the absence of anyone to hold
> them
> is left as an exercise for the reader. The question of the existence of
> the reader
>  is left as an exercise for the second god coefficient.
> (A discussion of non-orthogonal, non-integral polytheism is beyond the
> scope of this article.)
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution

More information about the use-livecode mailing list