|
-
Aug 4th, 2015, 04:12 PM
#32
Thread Starter
Member
Re: Generating a unique fixed-length hash in VB6
 Originally Posted by jmsrickland
What happens if it doesn't find one that isn't in use (if that is possible at all)
Actually, the way that it's currently written, it will continue to loop until it finds an available ID. There, of course, is the potential for it to get completely hung up in that loop if it keeps generating the same (random) values, and I may have to do some additional "tweaking" to prevent that from happening, but this is a good starting point. This is still a "work in progress", and I have a bit of time to finalize everything before any of this goes into production.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|