[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to Load extended Lua Library at the launch of Lua Console
- From: Rob Kendrick <lua-l@...>
- Date: Tue, 8 Sep 2009 16:50:22 +0100
On Tue, 8 Sep 2009 20:40:33 +0530
Anurag Sharma <anurag.sharma.101@gmail.com> wrote:
> I want to launch Lua console with "myApp_Lua.dll" loaded. How can I
> do so?
Assuming it is a standard Lua module;
rjek@trite:~$ lua -h
usage: lua [options] [script [args]].
Available options are:
-e stat execute string 'stat'
-l name require library 'name' <-- this one
-i enter interactive mode after executing 'script'
-v show version information
-- stop handling options
- execute stdin and stop handling options
rjek@trite:~$ lua -l socket
Lua 5.1.3 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> =package.loaded.socket
table: 0x20c9990
B.