Difference between revisions of "CURDIR()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return current device and directory | Function to return current device and directory | ||
− | |||
==Syntax== | ==Syntax== | ||
− | CURDIR( | + | CURDIR() |
− | + | ||
==See Also== | ==See Also== | ||
− | + | [[SET DEFAULT]], [[SYS()]] | |
− | + | ||
==Description== | ==Description== | ||
− | The CURDIR() function returns the name of the current directory. | + | The CURDIR() function returns the name of the current directory. The CURDIR() function always returns a character string without changing the case. |
− | + | ||
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
? curdir() | ? curdir() | ||
− | + | /home/user1 | |
− | + | ||
− | + | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 06:45, 10 February 2012
Contents
Purpose
Function to return current device and directory
Syntax
CURDIR()
See Also
Description
The CURDIR() function returns the name of the current directory. The CURDIR() function always returns a character string without changing the case.
Example
? curdir() /home/user1