Project

General

Profile

Actions

$alias » History » Revision 1

Revision 1/3 | Next »
Per Amundsen, 08/14/2014 03:28 AM


Added in 1.9.4

$alias(N/filename)

Returns the filename for the Nth loaded alias file or if you specify a filename, it returns $null if the file is not loaded.

Parameters

N/filename - Nth alias or alias filename.

Example

;Print number of alias files.
//echo -ag $alias(0)

;Print first alias file.
//echo -ag $alias(1)

;Check if foo.txt is loaded.
//echo -ag foo.txt is $iif($alias(foo.txt),loaded, not loaded)

Updated by Per Amundsen about 10 years ago · 1 revisions

Also available in: PDF HTML TXT