[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Just starting with Lua
- From: Nightowl <nightowl.t@...>
- Date: Sun, 21 Mar 2004 01:33:40 +0100
Hi,
Well, few hours ago I started with Lua. So to get up to speed, I got
various kits, lua 4.0 and 5.0, LuaWin32.zip installed, Reference Guide
and also I did browse quite a lot of site. To start with something, I
wnet to the http://www.andreas-rozek.de/Lua/Acquainting/index_en.html
page, download the lua_00.lua script and tried to run it with Lua.exe
under Windows 2000. Here is what I got:
I:\LUA\LUA-5.0>lua -v ..\examples\lua_00.lua
Lua 5.0 Copyright (C) 1994-2003 Tecgraf, PUC-Rio
Lua_00 - lists the given command line arguments
LUA: ..\examples\lua_00.lua:32: attempt to call global `getargs' (a nil
value)
stack traceback:
..\examples\lua_00.lua:32: in main chunk
[C]: ?
I:\LUA\LUA-5.0>
I tried to look in this list archive, search on the web, but
unfortunately found nothing that would help me. Is the getargs function
built into Lua or is it an external function and I'm missing a dll, a
path or something like that ?
Content of the Lua 5.0 directory is:
Directory of I:\LUA\LUA-5.0
03/21/2004 12:18a <DIR> .
03/21/2004 12:18a <DIR> ..
04/12/2003 10:41a 192,512 Lua.exe
04/12/2003 10:41a 114,688 Luac.exe
04/12/2003 10:45a 221,980 lua.lib
04/12/2003 10:45a 391,278 lualib.lib
4 File(s) 920,458 bytes
2 Dir(s) 227,020,800 bytes free
I:\LUA\LUA-5.0>
Best regards
Th
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0403-14, 03/18/2004
Tested on: 3/21/2004 1:33:41 AM
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com