Questions about this topic? Sign up to ask in the talk tab.
LUA
From NetSec
Revision as of 19:39, 4 May 2012 by EnriqueBlackston (Talk | contribs)
Lua is a portable interpreted language. It is mainly used in Games, however it is also used by NMAP's Scripting Engine
Variables
In Lua, variables are very simple, you don't even have to declare a datatype, all you need to do is assign a value.
Var = 0 |
Global Variables vs Local Variables
When you declare a variable in Lua, it is globally accessible unless otherwise specified with local.
GlobalVar = 0 |
local LocalVar = 0 |