Jump to content

Hex() 32bit limitations


Orca
 Share

Recommended Posts

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!!!

Link to comment
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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...