GetEventRefByName
Purpose
This function returns the event reference for an event.The event reference is only needed for other procedures which explicitly require the event reference ID.
This will only return the reference to the first event matching the name provided.
Parameters
Parameter: Name
Type: string
Description: This is the event name excluding the group, such as "Wake-Up Time".
Returns
Return value: reference
Type: integer
Description: This is a numerical event reference ID.
Example
Sample Code
None