Documentation: Lua 'setfenv' page missing the second parameter

Posted by Twisol on Tue 13 Oct 2009 11:11 PM — 2 posts, 8,186 views.

USA #0
The setfenv documentation page[1] is missing the 'env' parameter. Currently it shows this:

f = setfenv (f)


Where it should show this:

f = setfenv (f, env)



[1]: http://www.gammon.com.au/scripts/doc.php?lua=setfenv
Australia Forum Administrator #1
Thanks. Fixed in the next release.