Article # 563, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
How to convert a hex number to a message name in Swat.
How to turn a 4 digit hex number into a message name in Swat: 1. Find out the class of the target object for the message. 2. Print the hex number as decimal (e.g. 6a02h = 27138) 3. Type "whatis MSG_MOST_LIKELY_MATCH" 4. Compare the whatis output to the number you're looking for. - If it's way off, try another class. - If it's close, look in the header file for that class and count up or down to that message (they are numbered in the order they're defined in the header).