Difference between revisions of "Shell Commands/LuaX"

From MorphOS Library

< Shell Commands

(Created page with "'''LuaX''' - Interprets Lua scripts FILE, INTERACTIVE=-I/S, ARGS/F <nowiki> FILE - A Lua script file to execute INTERACTIVE - Gives an interactive prompt to converse...")
 
Line 1: Line 1:
'''LuaX''' - Interprets Lua scripts
+
'''LuaX''' - Interprets a Lua script
  
 
FILE, INTERACTIVE=-I/S, ARGS/F
 
FILE, INTERACTIVE=-I/S, ARGS/F

Revision as of 16:48, 11 December 2015

LuaX - Interprets a Lua script

FILE, INTERACTIVE=-I/S, ARGS/F

FILE        - A Lua script file to execute
INTERACTIVE - Gives an interactive prompt to converse with the interpreter
ARGS        - Arguments for the script

Example:

Ram Disk:> LuaX S:MultiMeedio.lua NEXT

=> Executes the MultiMeedio.lua script found in S: and passes the "NEXT" argument to the script.