Getting command line parameters in Lua interpreter
snippet in lua

Getting command line parameters in Lua interpreter

user8053

function Double(n)
 return 2*n
end

print(Double(arg[1]))