lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


RTFM

lua_open();
lua_userinit();  // for any libraries
lua_beginblock();
lua_dofile("blah");
lua_endblock();
lua_close();

----- Original Message ----- 
From: Curtis, Craig M. <curtis_c@lxe.com>
To: Multiple recipients of list <lua-l@tecgraf.puc-rio.br>
Sent: Thursday, September 02, 1999 5:00 PM
Subject: Compiling lua for DOS


| I guess I did not secribe my problem.  Here is the code I am trying to
| compile:
| #include <stdio.h>
| #include "lua.h"
| 
| void main()
| {
|  lua_dofile("hello.lua");
| }
| 
| I set the project memory model to huge and get an error stating that my
| _TEXT segment is larger than 64k.  Am I just out of luck?
| 
| Thanks,
| Craig
|