Returns a lock on the directory the program was loaded from
Source position: amigados.pas line 2038
function GetProgramDir: LongInt; |
A lock on the directory the current program was loaded from, or nil if loaded from resident list, etc.
Returns a shared lock on the directory the program was loaded from. This can be used for a program to find data files, etc, that are stored with the program, or to find the program file itself. nil returns are valid, and may occur, for example, when running a program from the resident list. You should not unlock the lock.
|
Sets the default filesystem for the process |
|
|
Open a file for input or output |