lua-users home
lua-l archive

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


Sorry, the quotes were a typo. I did use "local hex5A = 0x5A".

-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of David Given
Sent: Monday, September 15, 2008 8:51 AM
To: Lua list
Subject: Re: Reading binary files

Jeff Wise wrote:
[...]
> This works becaue X'5A' is coincidentally 'Z'. I could not get
> 
>   local hex5A = 0x'5A'
> 
> to work. What gives?

Um, 0x5A?

-- 
David Given
dg@cowlark.com

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.169 / Virus Database: 270.6.21/1671 - Release Date: 9/14/2008
7:16 AM