Hello Rich, I think you just found a bug. Using RBase for Windows V6.5++ Build: 1.840gxRT03 I tried your command line verbatim seven time and got the following number: 10 3 335 33 355 217 536 I then exit RBase, open RBase again SIX TIMES and got the same numbers. Since you discover it, please report it to RDCC so that the Dream Team can correct this problem. Thank you, Manuel de Aguiar M|D Enterprises rich wrote: > One item to watch out for: > 1. If you set a variable to a random number like: set var vrand = > (random(1000)) it will generate a number. > 2. if you exit rbase and restart it, define the variable again you will get > the same random number. > > rich > ----- Original Message ----- > From: "A. Razzak Memon" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, April 23, 2001 10:35 AM > Subject: Re: Randomly generated unique numbers - Razzak's Reply > > > > > Bob, > > > > Use the R:BASE (RANDOM(value)) Function! > > > > http://www.RSyntax.com > > > > Enjoy! > > > > Very Best Regards, > > > > Razzak. > > > > At 10:05 AM 4/23/2001 -0400, Bob Powell wrote: > > > > > >Does anyone know how to randomly generate a nine > > >digit number that is always unique? > > > > > > ===================================-============================ > > R:BASE Developers's Conference: http://www.rbase.com/conference > > Official R:BASE List Server: mailto:[EMAIL PROTECTED] > > RBTI Events/Training: http://www.rbase2000.com/events > > R:DCC Members: http://www.rbase2000.com/rdcc > > ================================================================ > > R:BASE, Oterro & R:Tango are registered trademarks of RBTI. > > ==================================-=============================
begin:vcard n:de Aguiar;Manuel tel;fax:(323)661-7698 tel;work:(323)660-3511 x-mozilla-html:FALSE url:http://www.mdenterprises.net org:M|D Enterprises adr:;;2412 No. Commonwealth Avenue;Los Angeles;California;90027-1206;USA version:2.1 email;internet:[EMAIL PROTECTED] title:Developer note;quoted-printable:The information contained in this e-mail may be privileged, confidential,=0D=0Aand protected from disclosure. If you are not the intended recipient, you=0D=0Aare hereby notified that any dissemination, distribution or duplication of=0D=0Athis communication is strictly prohibited. If you have received this=0D=0Acommunication in error, please notify the sender immediately and delete all=0D=0Acopies.=0D=0A=0D=0Ahttp://www.mdenterprises.net=0D=0Ahttp:/www.databasedeveloper.com=0D=0Ahttp://www.MdrBASE.com=0D=0A x-mozilla-cpt:;-1 end:vcard
