Anterior Próximo Editar Renomear Desfazer Procurar Administração
File & Directory Paths
There are two kinds of file or directory paths in Gambas
- Absolute paths.
- Relative paths.
Absolute paths start with a /
or a ~
character. They are interpreted the same way as in a shell.
If a path starts with a ~
character followed by a /
character, then the ~
replaced by the user home directory.
Otherwise, if a path starts with a ~
not followed by a /
, then the characters up to the next slash
or up to the path end must be a system user name. Then they are replaced by the home directory of that user.
Relative paths are paths that do not start with a /
character or a ~
They refer to files or directories located inside the current project executable or current componente
As files located inside the current project are actually archived inside one executable file, they are read-only
If you need to access a file located in the main project from a component, it is possible! You must start your
relative path by the ../