Maps as members of List

Just starting out? Need help? Post your questions and find answers here.
nicalejo
Posts: 15
Joined: Thu May 18, 2017 4:06 pm

Maps as members of List

Post by nicalejo »

Can I have Maps as elements of a List? I suspect the answer is no and is restricted to basic or structured types

If possible, what is the syntax to access the entry on the map in one element of the list?

THX
User avatar
Peter
Posts: 1093
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Maps as members of List

Post by Peter »

nicalejo wrote:Can I have Maps as elements of a List?
something like this?

Code: Select all

Structure sList
  Map myMap.s()
EndStructure

NewList myList.sList()
Greetings ... Peter
nicalejo
Posts: 15
Joined: Thu May 18, 2017 4:06 pm

Re: Maps as members of List

Post by nicalejo »

Great, a little bit hacking approach but pretty

Thanks
Post Reply