lua-users home
lua-l archive

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

Hi Ed,

> Robby,
> Unfotunately, I'm stuck with Windows and the VS.NET compiler.  I have the 
> Lua compiler running but when I give it the bin2c.lua file, I can't make it 
> pass the third argument to the lua script.  You seem to be able to execute 
> bin2c directly.  I've been trying to run (lua is lua51.exe):
> lua bin2c.lua +mylibs.lua > mylibs.c
> but it look like lua is trying to open all the arguments.  Page 8 of 
> Programming in Lua shows "lua script a b c" with the "a b c" being passed to 
> the script.
> Ed 

Ah, as I say, I'm still using 5.0, and bin2c is a C program there.

You can find it in the etc dir of the 5.0.3 distro sources.  Maybe
that is still OK to use for 5.1?


r dot raschke at tombob dot com