lua-users home
lua-l archive

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


As a relative new comer to Lua, an unexpected difficulty I have encountered is in inserting a key and value into an existing dictionary.

The table.insert method does the trick for an indexed value but not for a string key. This need seems fundamental, so is there a simple solution that I have missed?

Thank you for any help.