SETHIGH16 v, data

Purpose To assign the upper 16-bit of a 32-bit integer variable v to data. The lower 16-bit of v is unaffected. This can be used to construct the value of a 32-bit integer data using two 16-bit data obtained from either the EEPROM or the DM[n].
Examples A = DM[2]
SETHIGH16 A,DM[1]
See Also GETHIGH16( )

backbutton.gif (507 bytes)  Basic to TBASIC Reference Manual