Difference between revisions of "CURDIR()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(Class)
Line 1: Line 1:
==Class==
 
Disk and File Utilities
 
  
  

Revision as of 14:54, 27 October 2009


Purpose

Function to return current device and directory


Syntax

CURDIR([<expN>])


See Also

DIR(), SET DEFAULT, SYS()


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 Database Server, Recital Mirage Server, Recital Terminal Developer