Thread: Hash Arrays
View Single Post
  #6  
Old 12-05-2009, 05:02 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Codein View Post
I agree with this and I have done since it was last requested but was given this explanation in a round about way...
Maybe Stefan could just real-time translate child objects to work with an associative array syntax. Lua kind of does it as well:
NPC Code:
local arr = { x = 30, y = 40 };
print(arr["x"] .. ", " .. arr.y); -- "30, 40"

Reply With Quote