About Store Forum Documentation Contact
Donations:
140$/mo



Post Reply 
Get element from map
Author Message
Dynad Offline
Member

Post: #1
Get element from map
Hey,

Is there a way to get a element from the EE::Map without the knowledge of the key? So if i use e.g the REPA(map.elms()) ...i cant get the element with map[i].doSomething().

Is it me? or is this not possible?

Thnx,
~Dynad

There is always evil somewhere, you just have to look for it properly.
12-19-2010 06:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: Get element from map
You can
Map.lock
Map.lockedElm(i).data
Map.unlock
12-19-2010 12:39 PM
Find all posts by this user Quote this message in a reply
Post Reply