- 4.62.2.34 -
Standard Units
System Unit
System Unit Procedures and FunctionsGetDir procedure
Targets: MS-DOS, OS/2, Win32
System Unit
Returns the current directory of a specified drive.
Declaration:
procedure GetDir(D: Byte; var S: String);
where D is set to:
Drive | Value |
Default | 0 |
Drive A | 1 |
Drive B | 2 |
Drive C | 3 |
Remarks:
IOResult returns the error code if
an error occurred, otherwise it is set to zero.
GetCurDir performs the same function
as GetDir but it takes a null-terminated string
as an argument instead of a Pascal-style string.
|
|
|
FreeMem procedure |
Table of Content |
GetLocaleStr function |
- 4.62.2.34 -