Gambas Documentation - /dev/api/cat/file

/dev/api/cat/file

# File Management

`GB.ExistFile` | Returns if a file exists.
`GB.FileName` | Converts a UTF-8 charset encoded file name into a system charset encoded file name.
`GB.GetTempDir` | Returns the directory where temporary files are stored.
`GB.LoadFile` | Loads a file in memory.
`GB.RealFileName` | Creates and returns a temporary real file for files located in Gambas executables.
`GB.ReleaseFile` | Release the memory used by a loaded file.

## Overview

These function allow you, among other things, to load a file from the current component or project, and deal with different charsets between the one used by Gambas (UTF-8) and the one used by the system.