Henry,

I am not exactly sure what you mean but after posting I spotted that I was
assigning type to a random value then using that as the argument to roll, I
fixed that. If you start a jconsole session and type

?2, ?100, ?100

sooner or later you get a float... placing parens. around it

(?2), (?100), (?100)

gives me the expected list of three integers so I guess it's to do with
order of evaluation as roll can take one or two arguments... still learning
J.

Thanks
Sean
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to