Difference between revisions of "CURDIR()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to return current device and directory | Function to return current device and directory | ||
Line 29: | Line 25: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 16:37, 27 November 2009
Purpose
Function to return current device and directory
Syntax
CURDIR([<expN>])
See Also
Description
The CURDIR() 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 CURDIR() function always returns a character string without changing the case.
Example
? curdir() [USERS.RECITAL] ?curdir(1) DIA1:[USERS.RECITAL]
Products
Recital Server, Recital