NewEvent

This command is obsolete in Version 2.0.  Please use NewEventGetRef instead.

Purpose

This function creates a new empty event.  The trigger mode is set to MANUAL.  All other properties are cleared and the name is set to the name given.  The index of the new event is returned and may be used in the GetEvent call to set properties of the new event.

Parameters

Parameter: name
Type: string
Description: This is the name of the new event.

Returns

Return value: event index
Type: integer
Description: This is the index number of the new event.