Sign in to follow this  
Followers 0
Orca

Hex() 32bit limitations

3 posts in this topic

Is there any method to store a 64bit hex number? I suppose I could write a dec2hexString and just output a non-number value to see what I'm working with, but there are times when I want to just assign a field the hex value as

$bigHex = 0xFFEEDDCCBBAA

Using search proved less than useful.


I AM ORCA!! A VERY POWERFUL WHALE!!!

Share this post


Link to post
Share on other sites



What version are you using?

Share this post


Link to post
Share on other sites

Is there any method to store a 64bit hex number? I suppose I could write a dec2hexString and just output a non-number value to see what I'm working with, but there are times when I want to just assign a field the hex value as

$bigHex = 0xFFEEDDCCBBAA

Using search proved less than useful.

Try this:

$bigHex = Binary("0xFFEEDDCCBBAA")
ConsoleWrite("Debug:  $binHex = " & $bigHex & "  Length = " & BinaryLen($bigHex) & @LF)
$bigHex = Binary("0xFFEEDDCCBBAAFFEEDDCCBBAA")
ConsoleWrite("Debug:  $binHex = " & $bigHex & "  Length = " & BinaryLen($bigHex) & @LF)

:P


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0