(nl 0) lists all the nouns in boxed form, and 7!:5 gives the memory used by
a noun in boxed form, so
7!:5 nl 0
gives you a nice list of all the memory being used.
To save and recover a noun using a file, you can use the inverses (5!:5)
and ". (". is a strict left inverse of 3 :'5!:5<''y''', at least).
In other words, if your noun is named 'a', you can save it using
(5!:5 <'a') 1!:2 <filename
a =. ". 1!:1 <filename
Mrshall
On Wed, Nov 9, 2011 at 8:54 PM, Skip Cave <[email protected]> wrote:
> Does anyone know how to find the size of all the nouns in an.ijx session?
>
> Also, I want to save a noun to a file for later use. How do I save it, and
> how do I bring it back into a session at a later time?
>
> Skip
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm