Copyselectedvarstoanotherfile function – Multichannel Systems NeuroExplorer User Manual

Page 181

Advertising
background image

5.5.3.13. CopySelectedVarsToAnotherFile Function

CopySelectedVarsToAnotherFile Function


Copies selected variables from one file to another.

Syntax


CopySelectedVarsToAnotherFile(fromDoc, toDoc)

Parameters

Parameter

Type

Description

fromDoc

documentReference Reference to the document. The variables are

copied from this document.

toDoc

documentReference Reference to the document. The variables are

copied to this document.

Returns


None

Comments


None

Usage

NexScript

fromDoc = OpenDocument("C:\Data\File1.nex")

toDoc = OpenDocument("C:\Data\File2.nex")

% copy all events from fromDoc to toDoc

% first, select all events

SelectAllEvents(fromDoc)

% call CopySelectedVarsToAnotherFile

CopySelectedVarsToAnotherFile(fromDoc, toDoc)

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 179

Advertising