$alias: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Daveoh (talk | contribs)
No edit summary
 
Daveoh (talk | contribs)
mNo edit summary
 
Line 13: Line 13:
== See Also ==
== See Also ==


* [[alias|/alias]]
* [[alias|/alias]] - creates an alias
* [[$isalias]] - returns $true if an alias exists


[[Category:File and Directory Identifiers]]
[[Category:File and Directory Identifiers]]

Latest revision as of 12:20, 10 May 2008

Returns the filename for the Nth loaded alias file.

$alias(N/filename)

If you specify a filename, it returns $null if the file isn't loaded.

Example

$alias(0)          returns the number of alias files loaded

$alias(2)          returns the filename of the 2nd loaded alias file

$alias(moo.txt)    returns $null if the file isn't loaded, or moo.txt if it is.

See Also