Val Of Id
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Syntax
long valOfId(dword id);
long valOfId(message m);
Function
Returns the value of a message identifier independent of its type. Identifier as long value.
Parameters
Variable of the typemessageorIdportion of a message.
Return Values
Identifier as long value.
on message *
{
long x;
x = valOfId(this);
write("Numeric ID = %x", x);
}