Important: The information in this document is obsolete and should not be used for new development.
Getting and Setting Memory Values
TheHiWordandLoWordfunctions allow you to extract a word from a long word. TheStuffHexprocedure provides a quick way to convert hexadecimal values stored in a string into byte values in memory.To copy a range of bytes from one memory location to another, you should ordinarily use the Memory Manager's
BlockMoveprocedure, which is described in Inside Macintosh: Memory.
Subtopics
- HiWord
- LoWord
- StuffHex