I feel newbish writing this, but I’m having problems generating random
numbers in IronPython.



I tried “import random” but that doesn’t seem to work (module not found).



I tried creating a System.Random but when I run

var_utmn = randgen.Next(1000000000,9999999999) I get a buffer overflow.



Any ideas? The random number needs to be above those two numbers indicated
above.



Thanks,

Adam
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to