Previous: FreeMem procedure To the Table of Content Next: GetLocaleStr function

- 4.62.2.34 -
Standard Units
System Unit
System Unit Procedures and Functions

GetDir 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 
Default0
Drive A1
Drive B2
Drive C3
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.


Previous: FreeMem procedure To the Table of Content Next: GetLocaleStr function
FreeMem procedure Table of Content GetLocaleStr function

- 4.62.2.34 -