OWBasic for Pocketviewer

Home INTRO Group BITS Alphabetical Index

Split Integer into Bytes

BYTES i%, BL%, BH%

The procedure splits the value of i into the bytes BL (low byte) and BH (high byte). The byte values are stored in then integer variables BH and BL and have a range of 0..255 .

Home INTRO Group BITS Alphabetical Index