Lua

Contents

  1. Functions

Lua is an extension-based embeddable language. Lua itself is implemented as a stand-alone library, with the goal of being embedded in other applications. It does not have it’s own main(), it has to be called from a host program running in a different language (e.g. C).

Reference Manual: http://www.lua.org/manual/5.2/manual.html

Functions

Functions in Lua can return more than one value. Awesome! This gets around the semantic issues of passing in variables by reference, just so that you can save data to them (think pointers in C).

Posted: July 15th, 2013 at 10:31 am
Last Updated on: April 10th, 2017 at 10:52 am