Monday, December 14, 2009

Lua for Pythoners - Dictionary

Hello,
as promised this is the second post, this time for dictionaries. The most important thing to notice is that tbl[key]=nil means deleting the entry from the table, while in python dict[key]=None is still a valid entry with None value.

Here's the snippet you can launch in a lua interpreter and this is the catalog of python dictionary examples.

3 comments:

pandith13 said...

Good post!
SRI ANNAPOORNESHAWARI ASTROLOGY CENTER.Best Astrologer In Florida

Vasudeva said...

Good post!

SRIKRISHANA ASTROLOGY.Best Astrologer In Raichur

Vasudeva said...
This comment has been removed by the author.