strange urn message

Oct 18, 2009 at 5:32am

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:

– Pasted Max Patch, click to expand. –

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!

#45933
Oct 18, 2009 at 7:53am

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.

#165521
Oct 18, 2009 at 5:53pm

Have a look to ej.urn from my ejies.

#165522
Oct 18, 2009 at 8:18pm

Thank you both for your replies!

@Emmanuel Jourdan: thanks! I will have a look when I get back to my
Mac!

Cheers!

#165523
Oct 19, 2009 at 1:01pm

Well, I think ej.urn is what I needed! Furthermore, I really liked the
ej.function.js jsui external! Good Job!

#165524
Oct 27, 2009 at 7:53am

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

#165525

You must be logged in to reply to this topic.