--- In [email protected], "Sheri" <[EMAIL PROTECTED]> wrote:
>
> Does this make any sense?
> 
> if (length(st_offset_vec)) do
>   st_offset_vec.destroy
>   win.debug("length after release=",length(st_offset_vec))
> endif
> 
> length after destoy or release is 7
> 
> Regards,
> Sheri
>ng the length of the string which holds the handle which represented
the dead vector.  Is that what you want?  Note that vec.length should
give an error after the destroy (unless you create a new vector with
the same handle in between the destroy and the length).

This is why 
st_offset_vec=st_offset_vec.destroy
is recommended usage -- to overwrite the handle made invalid by the
destroy.

Reply via email to