LOTUSSCRIPT LANGUAGE


CurDrive function
Example

Returns a string identifying the current drive.

Syntax

CurDrive[$]

Return value

CurDrive returns the current drive letter followed by a colon.

CurDrive returns a Variant of DataType 8 (String). CurDrive$ return a String.

To set the current directory on a specified drive, use ChDir. To set the current drive, use ChDrive. To return the current directory on a drive, use CurDir.

You can call the CurDrive function as either CurDrive or CurDrive(). You can call the CurDrive$ function as either CurDrive$ or CurDrive$().

Example
See Also