Answers for "lua command line arguments"

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

Code answers related to "lua command line arguments"

Browse Popular Code Answers by Language