teknetik04

Passing Arguments to standalone LUA script

Discussion created by teknetik04 on Aug 24, 2012
Latest reply on Aug 24, 2012 by 1_keithk

I have a lua script test.lua and I would like to pass arguments to the script. The offical lua documentation suggests LUA arguments are stored in a table and addressable as such:

 

print(arg[1])

print(arg[2])

 

etc...

 

Deos anyone have any first hand experiance with this?

Outcomes