Getname function – Multichannel Systems NeuroExplorer User Manual
Page 197

5.5.5.1. GetName Function
GetName Function
Returns the name of the variable.
Syntax
string GetName(var)
Parameters
Parameter
Type
Description
var
variableReference
Reference to the variable.
Returns
Returns the name of the variable.
Comments
None
Usage
NexScript
doc = GetActiveDocument()
% get the first neuron variable
var = GetVar(doc, 1, "neuron")
% get the variable name
name = GetName(var)
See Also
Introduction to NexScript Programming
Page 195