lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hi, Jose

Lua tables work as natural containers:
map = {}
map["keyA"] = "ValueA"
map["keyB"] = "ValueB"

vector = {}
vector[1] = a
vector[2] = b

you can take a look at the manual, everything is in there :)
sincerely yours,

----- Original Message ----- 
From: "Jose Marin" <>

> Thanks for your tips!
> Is there some sample on how to implement linked lists,
> maps and vectors (ala STL) in Lua?