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