deleting list components
[Prev][Next][Index][Thread]
deleting list components
I have a list with 10 components and I want to delete just the 3rd
and 7th component inside a program
exp. 20,19,18,17,13,1,6,5,9,7
The only way I know how to do this is
:20,19,18,17,13,1,6,5,9,7->L1
:L1->L2
:1->b
:For a,1,2
:L1(a)->L2(b)
:1+b->b
:End
:For a,4,6
:L1(a)->L2(b)
:1+b->b
:End
:For a,8,10
:L1(a)->L2(b)
:1+B->B
:END
:L2->L1
:Delvar(L2)
I believe there has to be a better way. simply delteing L1(3) for
instance. If anyone can help with this, please let me know.
Tomas
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Follow-Ups: