convert long to byte
Johnnyfumi
Posts: 14
Hy, is there anybody that know how to convert long to an array of byte? i'm using a flotingpoint long (as 3.4) and i want to write this on a secure digital (i use fsrw.spin), so i havo to convert this long in a byte (array of 4 byte), but i don't know how to do this.
thanks
Johnny
thanks
Johnny
Comments
But, if you insist, you can use the byte[noparse]/noparse syntax: pputc(longvar.byte[noparse][[/noparse]0])
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔