Code: Select all
NewList A.s()
NewList B.s()
For i = 0 To 5
AddElement(A()) : A() = "A "+Str(i)
AddElement(B()) : B() = "B "+Str(i)
Next
SelectElement(A(), 3)
SelectElement(B(), 1)
MoveElement(A(), #PB_List_After, @B())
Debug "ListSize A: "+Str(ListSize(A()))
ForEach A()
Debug A()
Next
Debug ""
Debug "ListSize B: "+Str(ListSize(B()))
ForEach B()
Debug B()
Next
is this a bug, or not allowed?
if it is not allowed, why not?
i think it is important to also move items between lists
can you add a optional parameter for the list of the *RelativeElement, like SplitList and MergeLists?