Answers for "lua arguments from cmd"

Lua
-5

lua command line arguments

-- Display the command line parameters
print(arg[0])    -- Name of the script
print(arg[1])    -- First parameter
print(arg[2])    -- Second parameter
Posted by: Guest on December-31-2020

Browse Popular Code Answers by Language