lua-users home
lua-l archive

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


These don't do what the OP needs.  But I don't know of anything
else that does, either.

Dolan, Ryanne Thomas (UMR-Student) wrote:
Check out the string.char and string.byte functions.

http://www.lua.org/manual/5.1/manual.html#pdf-string.byte

-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br on behalf of Stockdale, Daire, SOE
Sent: Thu 5/11/2006 5:21 AM
To: lua@bazar2.conectiva.com.br
Subject: Writing binary data
Hello

Is there any way to write to file the binary representation of a
lua_Number without using a custom module? I'd like the following to
work: