EndOfInterval

Creates the new event based on the specified interval variable. Copies the end of each interval of the interval variable to the result.

Syntax

EndOfInterval(intervalVar)

Parameters

Parameter

Type

Description

intervalVar

variableReference

Reference to an interval variable

Return

Reference to the new variable.

Note

Creates the new event based on the specified interval variable. Copies the end of each interval of the interval variable to the result.

Examples

Python

import nex
doc = nex.GetActiveDocument()
doc["CorrectTrialEnds"] = nex.EndOfInterval(doc["CorrectTrials"])

NexScript

doc = GetActiveDocument()
doc["CorrectTrialEnds"] = EndOfInterval(doc["CorrectTrials"])