Today I would have liked for CopyList() to assume
Destination Structure = Source Structure
rather than telling me that Destination didn't have a structure
CopyList()
CopyList()
PB 5.73 on Windows 10 & OS X High Sierra
Re: CopyList()
I don't understand your problem.
This:
works fine here (PB5.40b6)
CopyList doesn't create a list!
This:
Code: Select all
Structure test
a.a
b.b
EndStructure
NewList List1.test()
NewList List2.test()
AddElement(list1())
list1()\a=1
list1()\b=1
CopyList(list1(),list2())
ForEach list2()
Debug Str(list2()\a)+" "+Str(list2()\b)
Next
CopyList doesn't create a list!