You can use do ... end to make a "block". This can be useful if you want to have a local variable limited in scope, eg.
Also you need to use "do ... end" if you want to put a return inside the middle of a function (eg. for testing), like this:
See Also ...
Lua base functions
(Help topic: lua=do)
Enter a search string to find matching documentation.
Gammon Software support
Forum RSS feed ( https://gammon.com.au/rss/forum.xml )