| Sign In/My Account | View Cart |
| Article: |
Introducing Lua | |
| Subject: | Like JavaScript | |
| Date: | 2006-02-21 02:27:17 | |
| From: | iconara | |
| Lua is very similar to JavaScript (one of the most misunderstood programming languages). __index is JavaScript's prototypes, the tables are very similar to JavaScript's dynamic objects, and so on. But does Lua have closures? that would be nice. | ||
Showing messages 1 through 1 of 1.
To answer your question, yes Lua has full support for closures. Section 6.1 in Programming in Lua disucsses them (http://www.lua.org/pil/6.1.html)
Keith