Quick question regarding converting datatypes
Basil
Posts: 380
Hi All,
A nice easy one. I am just double checking as im sure I know the answer...
If I write a long to an index in an array of bytes, will the long be written across 4 bytes or truncated to 1 byte?
A nice easy one. I am just double checking as im sure I know the answer...
If I write a long to an index in an array of bytes, will the long be written across 4 bytes or truncated to 1 byte?
Comments
I am waiting on my pcb to be made so am developing without hardware for a little while
If you want to write across an array of bytes use bytemove().
Thanks!