is there a way operate in hex or binary numbers?
could this possibly be implemented?
for example hex() or could be used as an expression to define a number as hexadecimal, similar to int() or float(),
the same could be done for bin() or b() defining a number as binaryh(),
and for singed binaries as well, perhaps sbin() or sb()
if possible, it could also be very usefully extended to allow bitwise operations, such as bitwise AND, bitwise OR, bitwise XOR, and bitwise NOT.
and hey, maybe even include shifts and rotates.
i guess it could also be useful it they could be defined as nibbles [ nib() ], bytes [ byte() ], words [ wrd() / word() / w() ], dwords [ dword() / dw() ], and qword [ qword() / qw() ].
call me crazy, but i can definitely see the potential usefulness of this, especially when dealing with variables, and perhaps even saves, and colors.
i know binary files can be used already, but i dont think hex and binary numbers are operable with in construct, at least i looked for it and didnt find it was possible, nor did i find expressions for them, so i made the assumption that it is not yet implemented.
i'll admit i dont know how complicated this would be to implement, and if i could do it myself i would, but i'm gonna go out on a limb and guess it wouldnt be too difficult to include.
is there any possibility of this?
<img src="smileys/smiley1.gif" border="0" align="middle" />