
5.5.2.2. GetDocTitle Function
GetDocTitle Function
Returns the data file name.
Syntax
string GetDocTitle(doc)
Parameters
Parameter Type Description
doc documentReference Reference to the document.
Returns
Returns the data file name. For example, if the document has the path "C:\Data\data1.nex", this
function will return "data1.nex"
Comments
None
Usage
NexScript
doc = GetActiveDocument()
fileName = GetDocTitle(doc)
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 161
Comentários a estes Manuais