If I have a list box with
1
2
3
4
5
6
and I only want to remove the last X amount of items, how do I do with a loop ?
So if X = 2
the result is
1
2
3
4
I was thinking about
Start loop "deletelines" 2 times
on loop "deletelines"
- Listbox: Delete LoopIndex("deletelines") - 2
or
- Listbox: Delete 2 - LoopIndex("deletelines")
or
List Nb Lines( "checklist" ) - LoopIndex("deletelines")
but none of them work
but that ain't it..
Anyone able to resolve my brainfart?
Thanks