strange urn message
Hello Everybody!!!
It appears that urn does not handle numbers above a certain limit
as a range. I am pasting the following patch to demonstrate my point:
The number I am using is the integer 206638. It will print the message urn: illegal size 206638. Is this some kind of default behaviour? If so, is there any way around it? Or some external object of the same functionality but being able to take care of large numbers? In the range of pow(32, 2)?
Your help is greatly appreciated in advance!
Urn's random generator limit is 4096, as far as I can tell. Anything above that upper limit will give an "illegal size" message. There's probably a workaround, but I don't know it -- would be curious to see one.
Have a look to ej.urn from my ejies.
Thank you both for your replies!
@Emmanuel Jourdan: thanks! I will have a look when I get back to my
Mac!
Cheers!
Well, I think ej.urn is what I needed! Furthermore, I really liked the
ej.function.js jsui external! Good Job!
You could also just use random, the likelyhood that you get a repetition is very small. Unless you still believe that gambling is a good way to earn money...;-)
Stefan