Newevent function – Multichannel Systems NeuroExplorer User Manual

Page 176

Advertising
background image

5.5.3.8. NewEvent Function

NewEvent Function


Creates a new timestamped variable.

Syntax


variableReference NewEvent(doc, count)

Parameters

Parameter

Type

Description

doc

documentReference Reference to the document.

count

double

Initial number of the timestamps in the document.

Returns


Returns a reference to the new variable.

Comments


None

Usage

NexScript

doc = GetActiveDocument()

temp = NewEvent(doc, 10) % creates a script-only variable

doc.NewVar = NewEvent(doc, 0) % creates a new variable in the file

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 174

Advertising