Difference between revisions of "CURDIR()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | Function to return current | + | Function to return current 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]] |
Latest revision as of 06:47, 10 February 2012
Contents
Purpose
Function to return current 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