
5.5.5.3. AddTimestamp Function
AddTimestamp Function
Adds a new timestamp to the specified event or neuron variable.
Syntax
AddTimestamp(var, timestamp)
Parameters
Parameter Type Description
var variableReference Reference to the event or neuron variable.
timestamp double New timestamp (in seconds).
Returns
None
Comments
The new timestamp should not be equal to one of the existing timestamps of the specified variable.
Usage
NexScript
doc = GetActiveDocument()
eventVar = GetVarByName(doc, "Event04")
% add timestamp at 1.5 seconds
AddTimestamp(eventVar, 1.5)
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 197
Comentarios a estos manuales