DEFAULT()

From Lianjapedia
Revision as of 11:29, 8 December 2014 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to return current directory

Syntax

DEFAULT()

See Also

APPDIR(), DATADIR(), Lianja System Object, LIBDIR(), PATH(), SET DEFAULT, SET PATH, SYS()

Description

The DEFAULT() function returns the name of the current directory. The DEFAULT() function always returns a character string without changing the case.

In the Lianja/VFP Command Window in the Console Workspace and App Inspector, the command PWD can also be used to return the name of the current directory.

Example

? default()
/home/user1
// In Lianja/VFP Command Window
pwd
/home/user1