[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Hex Numbers
- From: erik@... (Erik Hougaard)
- Date: Tue, 29 Aug 2000 09:12:37 +0200
My suggestion would be to add support for hex numbers in
So if a string starts with 0x it would be converted as a hexadecimal number
instead as a invalid string. I cannot see this would break any Lua language
definition since the converting right now is nil.
t = 45 * "0xFF"
This will also work with the lexer today.
p.s. Then binary 0b would be piece of cake :-) for all the embedded people.