EVT_asciiCode
Macro to extract the ASCII code from a message.
Declaration
uchar EVT_asciiCode(
ulong message)
Prototype In
event.h
Parameters
message |
Message to extract ASCII code from |
Return Value
ASCII code extracted from the message.
Description
Macro to extract the ASCII code from the message field of the event_t structure. You pass the message field to the macro as the parameter and the ASCII code is the result, for example:
event_t EVT.myEvent;
uchar code;
code = EVT_asciiCode(EVT.myEvent.message);
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com