strange urn message
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:
----------begin_max5_patcher---------- 284.3ocqRssSDBCE741uhl9LRnE20UeyuCyFSApr0.mRnkH5l8eW3Tp6EMFM Ye4jzYFlNmormR3E1Qsiydf8DiP1SIDDZFfrblvaUikMJGJi2pcNUslmD375 QOhKyVuNeSDtS4K2Yf5m60k9f842lklkvVElh4oXSZFa6xmXpPerEudSdzlW rfGTsZj4wdipIx.CsFnQ6wPIOBZG7QTwIl3LeflHjS2a.Nnz+dmNjONmscl4 .kNOR9i8AneaJxeqNF5geoKj2gsv83LWltJgIy94tPbU5B4+rKLfmmv3EJn9 7ZAiHuw.W9WCtky3m2UN6PeYz0k2V1wEsR67FP4MV3DMS6LS7klclpJMRGia qopyNEwkHbQ.oGneB7HomBF -----------end_max5_patcher-----------
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.
Thank you both for your replies!
@Emmanuel Jourdan: thanks! I will have a look when I get back to my
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…;-)