The following definition crashes in both J6 and J7 (although an old version
of J7):

   pack=:[:3!:1[:(];[:5!:1<)&>;:^:(L.=0:)

Versions:
   9!:14''
j701/beta/2009-09-23/11:25
   9!:14''
j602/2008-03-03/16:45

If the argument to "pack" is an undefined name J crashes.

   pack 'abc'  NB. Crashes J if abc is undefined.

I tried to simplify the definition but all my attempts resulted in a "value
error" handled properly by J.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to