Project

General

Profile

Actions

$alias » History » Revision 2

« Previous | Revision 2/3 (diff) | Next »
Per Amundsen, 06/28/2016 12:42 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 aliases.ini is loaded.
//echo -ag aliases.ini is $iif($alias(aliases.ini),loaded, not loaded)

Updated by Per Amundsen almost 8 years ago · 2 revisions

Also available in: PDF HTML TXT