GETHIGH16(v)

Purpose This function returns the upper 16-bit of a 32-bit integer variable v. This can be used to break the value of a 32-bit integer data or variable into two 16-bit values so that they can be saved to the EEPROM or to the DM[n].
Examples DM[1] = GetHIGH16(A)
save_EEP GetHIGH16(&H12345678), 10
See Also SETHIGH16

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