
5.5.8.7. LastBefore Function
LastBefore Function
Creates the new event containing the last timestamp of var1 in each of the intervals [var2+from,
var2+to].
Syntax
variableReference LastBefore(var1, var2, from, to)
Parameters
Parameter Type Description
var1 variableReference Reference to the variable.
var2 variableReference Reference to the variable.
from double Interval start offset (seconds).
to double Interval end offset (seconds).
Returns
Reference to the new variable.
Comments
Creates the new event containing the last timestamp of var1 in each of the intervals [var2+from,
var2+to].
Usage
NexScript
doc = GetActiveDocument()
doc.last = LastBefore(doc.Neuron1, doc.Event4, 0, 5)
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 235
Comentários a estes Manuais