Trausti Thor Johannsson wrote:
Einhugur has a plugin that creates unique id.


Trausti



Hi,


What would be the difference with the following code I just wrote that generates it for me in RB?

  Dim astring, alphabet As String
  Dim position, i as Integer
  Dim r as Random

  r = new random
  alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"

  For i = 1 to 20
    position = r.InRange( 1, 36 )
    astring = astring + Mid (alphabet,position,1)
  next

  Return astring


Youri
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to