S
Slow Flyer
On reading Intiger Variables (4 bytes) from BBC micro
files, into VBA Long variables (4 bytes), I notice that
the byte order in which VBA reads the variable (using Get)
is in reverse to that used by the BBC micro.
i.e. On the disk
The BBC stores the 4 bytes in order MSB to LSB.
Decimal -2 is Hex FFFFFFFE
The VBA stores the 4 bytes in order LSB to MSB.
Decimal -2 is Hex FEFFFFFF
Can VBA be made to Put and Get the right way round?
files, into VBA Long variables (4 bytes), I notice that
the byte order in which VBA reads the variable (using Get)
is in reverse to that used by the BBC micro.
i.e. On the disk
The BBC stores the 4 bytes in order MSB to LSB.
Decimal -2 is Hex FFFFFFFE
The VBA stores the 4 bytes in order LSB to MSB.
Decimal -2 is Hex FEFFFFFF
Can VBA be made to Put and Get the right way round?