StaCloseFile

StaCloseFile is used to close a file in STATISTICA. STATISTICA now provides the ability for documents to close themselves through member functions. For example, to close a spreadsheet, simply call:
 

Programming Language

Example

Visual Basic

'assuming "Spr" is a spreadsheet
Spr.Close(False)

C++

'assuming "pSpreadsheet" is a pointer to a spreadsheet
pSpreadSheet->Close(false);

See also Migrating from StaDev to STATISTICA's COM architecture for a comprehensive list of all StaDev32 functions that can be migrated to STATISTICA's COM library.