"Raul Miller" <[EMAIL PROTECTED]> wrote: > On Dec 25, 2007 2:56 AM, Mark D. Niemiec <[EMAIL PROTECTED]> wrote: > > Actually, most foreigns currently seem to work like m!:n -> (n+120*m)!: > > but such a mechanism restricts future expansion; some foreigns (currently > > 11!:n) > > require much larger range for n, which makes this model too restrictive. > > I disagree. > > Writing user code which relies on this undocumented 120 value means that > your user code might break at some point in the future. But why would > anyone make their code more verbose just so they can use an undocumented > number which means their code will probably break at some point in the > future?
Oh no! I was suggesting exactly the opposite (and agreeing with you). The point I was making was that, even thouguh the current impelementation of !: COULD almost be converted to an adverb with a single integer parameter (like n+120*m), doing so would be a BAD idea because it could make future expansion difficult. (And yes, any code that relies on this undocumented behavior is definitely treading on very thin ice). -- Mark D. Niemiec <[EMAIL PROTECTED]> ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
