Getvarbyname function – Multichannel Systems NeuroExplorer User Manual

Page 175

Advertising
background image

5.5.3.7. GetVarByName Function

GetVarByName Function


Returns the reference to the variable which has the specified name.

Syntax


variableReference GetVarByName(doc, name)

Parameters

Parameter

Type

Description

doc

documentReference Reference to the document.

name

string

Variable name.

Returns


Returns the reference to the variable which has the specified name.

Comments


None

Usage

NexScript

doc = GetActiveDocument()

% get the variable with the name TrialStart

start = GetVarByName(doc, "TrialStart")

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 173

Advertising