Project

General

Profile

$alias » History » Version 1

Per Amundsen, 08/14/2014 03:28 AM

1 1 Per Amundsen
_Added in 1.9.4_
2
3
*$alias(N/filename)*
4
5
Returns the filename for the Nth loaded alias file or if you specify a filename, it returns [[$null]] if the file is not loaded.
6
7
*Parameters*
8
9
N/filename - Nth alias or alias filename.
10
11
*Example*
12
13
<pre>
14
;Print number of alias files.
15
//echo -ag $alias(0)
16
17
;Print first alias file.
18
//echo -ag $alias(1)
19
20
;Check if foo.txt is loaded.
21
//echo -ag foo.txt is $iif($alias(foo.txt),loaded, not loaded)
22
</pre>