Difference between revisions of "DEFAULT()"

From Lianjapedia
Jump to: navigation, search
 
m (1 revision)
(No difference)

Revision as of 05:22, 25 October 2011

Purpose

Function to return current device and directory


Syntax

DEFAULT([<expN>])


See Also

DIR(), PATH(), SET DEFAULT, SET PATH, SYS()


Description

The DEFAULT() function returns the name of the current directory. The optional <expN> is used to the return the current device specification as well as the directory on OpenVMS. The <expN> must return a 1. The DEFAULT() function always returns a character string without changing the case.


Example

? default()
[USERS.RECITAL]
? default(1)
DIA1:[USERS.RECITAL]


Products

Recital Server, Recital