Entries in the s: table can not be removed.
A new J session has an s: table consisting
of the symbol for the empty string.



----- Original Message -----
From: Matthew Brand <[email protected]>
Date: Tuesday, September 1, 2009 8:07
Subject: [Jprogramming] Removing entries from the s: symbol table
To: Programming forum <[email protected]>

> Is it correct that the s: symbol table keeps growing?
> 
> Is there a way to remove entries?
> 
> i.e.
> 
>    s: ' one two three'
> `one `two `three
>    5 {. 0 s: 2
> 0 0          0 0 0 
> 0 0 _2147483648 2 1 0
> 0 3  292502397 1 3 0 
> 0        1024 0 3 0
> 3 3  320485795 1 3 0 
> 0        2048 3 0 0
> 6 5 1310088983 0 0 1 2        
> 1536 1 2 0
> 0 0          0 0 0 
> 0 0           
> 0 0 0 0
> 
>    NB. how can I remove say 'two' from the symbol 
> table so that the
> memory it takes up is relinquished?
> 
> I want to do it because I am using a large number of long strings.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to