Am 25.05.2019 um 11:13 schrieb Artur Tarassow:
Am 25.05.19 um 11:08 schrieb cruz.echevarria(a)ehu.eus:
> but inefficiently: it would be much easier just so
> save/keep/maintain/... the small number of variables I am interested
> in. In other words, is there a complementary command to "delete"?
Try this
<hansl>
open denmark.gdt -q
list keep = LRM IBO
list drop = dataset - keep
delete drop
</hansl>
Or, since you mentioned "save", maybe it's worth pointing out that the
'store' command also accepts a list of variables. So you could simply do:
store myfile.gdt LRM IBO
(or: store myfile.gdt keep, with the 'keep' list defined as above)
at the end of your work with the data.
cheers
sven