Joined: 30 Jun 2009
|Posted: Wed Aug 16, 2017 9:40 am Post subject: Hex Operation
Is there a way to do hex operation directly without using tonumber and string.format ?
new_hex_address = string.format("%x", tonumber(baseAddress, 16) + i * tonumber(offset, 16))
This is in a loop to auto add address based on a previously found address.