Closedocument function – Multichannel Systems NeuroExplorer User Manual

Page 151

Advertising
background image

5.5.1.9. CloseDocument Function

CloseDocument Function


Closes the specified document.

Syntax


CloseDocument(doc)

Parameters

Parameter

Type

Description

doc

documentReference Reference to the document.

Returns


None

Comments


None

Usage

NexScript

% this script prints the number of variables in the file

doc = GetActiveDocument()

Trace("document contains", GetVarCount(doc, "all"), "variables")

CloseDocument(doc)

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 149

Advertising