Why do this not work:
Global l:Long
l=$8000000000000000
Print l
Global l:Long
l=$8000000000000000:Long
Print l
:o)
OK.Bruce i have another question to you
I have a long in c like this
long l;
l=MACAddress[0]*0x1000000000000+MACAddress[1]*0x100000000+MACAddress[2]*0x1000000+MACAddress[3]*0x10000+MACAddress[4]*0x100+MACAddress[5]*0x1;
return l;
but it returns a 0
If you want to define a long as a constant you have to put :Long on the end otherwise it chops off the top 32 bits and converts it to an integer.
For 0x1000000000000, surely you need to use a "long long", unless your code is 64bit (where I guess a long is 8 bytes?).
Generally in C, a long is the same size as an int these days - at least in 32bit land.
And once you are in the realms of "long long", then the fun with BlitzMax will really begin...