Рейтинг:  0 / 5

Звезда не активнаЗвезда не активнаЗвезда не активнаЗвезда не активнаЗвезда не активна
 

CurDir()

 

Returns the current OS directory name.

 

Syntax

 

CurDir( [<cDrive>] ) --> cPath

 

Argument(s)

 

<cDrive> OS drive letter

 

Returns

 

<cPath> Name of directory

 

Description

 

This function yields the name of the current OS directory on a specified drive. If <cDrive> is not specified, the currently logged drive will be used.

 

This function should not return the leading and trailing (back)slashes.

 

If an error has been detected by the function, or the current OS directory is the root, the value of the function will be a NULL byte.

 

Example(s)

 

? CurDir()

 

Status

 

Ready

 

Compliance

 

This is CA-Cl*pper v5.2 compliant

 

Platform(s)

 

This is available on all platforms

 

File(s)

 

Library is core

 

See also

File()