On Sat, 17 Nov 2012, Sven Schreiber wrote:
On 11/17/2012 07:53 PM, Lee Adkins wrote:
> Thanks Sven. That is clever! I suppose that there is some danger in
> referring to a list in a bundle since variable ID numbers can change
> when a variable is deleted?
I don't know, I still don't completely understand how lists are handled
in gretl internally, but I guess it's possible that that's the reason.
OTOH that would also affect the lists themselves, whether or not they
are also part of a bundle.
We run an internal check on named lists when a series is
deleted: if renumbering affects any given list, it is
automatically updated. Example:
<hansl>
open data4-10 -q
varlist
list X = CATHOL WHITE INCOME # vars 2 4 8
delete PUPIL # var 3
list X print # still holds CATHOL WHITE INCOME
</hansl>
Allin