I would interpret the dictionary entry as follows: 'the j programming language
permits a sparse array to be literal or boxed. But the je implementation of
it lacks support for this feature at present.' Note the error you get is a
nonce error.
On Mon, 25 Apr 2022, P Padilcdx wrote:
Can I put a boxed element into a sparse array?
Example: (<t) (<i1 i2)}a
In <https://www.jsoftware.com/help/dictionary/d211.htm> representation
discussion is says:
“A sparse array y may be boolean, integer, floating point, complex, literal, or
boxed”<—
But on the notes at the end of the page it says “Sparse literal and boxed
arrays not yet implemented”.
Which very confusing to say the least. I tried different ways to do this and
none work so I’m inclined to believe the note as “boxed elements are not
implemented in sparse arrays”.
Any clarification or examples of boxed element usage would be much appreciated.
Thanks
Pete
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm