File I/O Functions

Use File I/O functions to create and manage user-defined (data) files.

You can use these functions to support the creation of "relative" files, so that you can save and reload certain records by specifying their record number. File I/O functions can also help you manage your files by providing you with information such as file size, current path settings, or the creation date of a file or a directory.


The ScriptForge library in LibreOffice 7.1 introduces the FileSystem service with methods to handle files and folders in user scripts.

Opening and Closing Files

File Input/Output Functions

Managing Files

The functions and statements for managing files are described here.

Please support us!