[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Inserting a key and value into a dictionary
- From: Graham Henstridge <graham@...>
- Date: Wed, 17 May 2006 21:49:48 +1000
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.