Le 09/08/2010 18:31, Leandro Zipitria a écrit :
Quick answer: just save the variable you need in a new database (they
are very few).
For example, I would like to use the series 5, 8, 37 and, 98 and
delete anyone else. Please take a look in this pseudo-code:
list Y = 5 8 37 98
if the variable is on the list
make nothing
else
delete variable
endif
the trouble with this script (if it does actually work) is that every
time a variable is deleted all remainng variables are being renumbered.
For example, once you delete the 1st variable (whose ID is 5) the 8th
variable becomes the 7th.
Better if you only save the variable you need as Leandro pointed out.
Best,
artur
--
*************************************
Artur BALA
Development Economist, Consultant
Phone: +216 24 71 00 80
E-mail: artur.bala.tn(a)gmail.com
skype: artur.bala.tn
*************************************