Hexadecimal Conversion Problem with Long data type

Archives Forums/BlitzMax Bug Reports/Hexadecimal Conversion Problem with Long data type

Scaremonger(Posted 2012) [#1]
Global int64:Long = $123456789
Print LongHex( int64 )
Print LongBin( int64 )


The result of this code does not give back the hexadecimal value that was placed in the variable.

0000000023456789
0000000000000000000000000000000000100011010001010110011110001001


I am running this in Windows XP SP3 using Blitzmax 1.48.


Scaremonger(Posted 2012) [#2]
This is not a bug; I found a solution...

Global int64:Long = $123456789:long
Print LongHex( int64 )
Print LongBin( int64 )