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.