Sherlock, Ric wrote:
I updated my Library today from 6.02.009 to 6.02.014 and am now getting
an error with a multiplot that previously worked.
The error is as follows:
|value error: pack
|   multidefs=.    pack MultiDefs

This refers to line 3425 from jzplot.ijs.

Further investigation reveals that between SVN revision 260 and 261 the
corresponding source line in plot/base/make/multi.ijs changed from multidefs=. packs MultiDefs to
multidefs=. pack MultiDefs

The verb "packs" is defined at the start of the jzplot.ijs script (line
73) and doesn't currently seem to be used anywhere in the script apart
from the definition.
I suspect that that "packs MultiDefs" originally referred to this
locally defined verb, but that "pack MultiDef" is trying to refer to the
"pack" verb defined in the '~system/main/pack.ijs' script (which is
similar). However the pack.ijs script is not explicitly required by
jzplot.ijs so there is the potential for a value error if the pack.ijs
script hasn't been loaded for some other reason.

Renaming the locally defined verb "packs" to "pack" restored
functionality for my application.

Thanks for pointing this out. It was a typo, "packs" was intended.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to