Hi,
writing some code I noticed AutoIt processes binary values as Little Endian by default , it is good because my PC has an Intel processor.
But what about Big Endian processors? Does compiled executable change its behavior relying on where it is executed?
I can explain my question in other words:
$t = Binary(0x0001)
ConsoleWrite("Binary: " & $t & @CRLF)
ConsoleWrite("Int: " & Int($t) & @CRLF)
0x0001 is saved in memory to 0x0100 (followed by other not significant 0s) because I have a little endian processor.
Int($t) reads the binary value and processes it as little endian printing the correct value of 1 (0x0001).
Does Int($t) always produce 1 or if I compile this script in my machine, and then I try to run it on a Big Endian one, do it prints 256 (0x0100)?