Project

General

Profile

$emoticons » History » Version 3

Per Amundsen, 06/07/2018 06:53 PM

1 1 Per Amundsen
_Added in 2.7_
2
3
*$emoticons(N|keyword)*
4
5
Returns the Nth emoticon, or the matching emoticon.
6
7
*Parameters*
8
9
N - The Nth emoticon.
10
keyword - The emoticon keyword to match.
11
12
*Properties*
13
14
.file - Returns the emoticon filename.
15
.key - Returns the emoticon keyword.
16
17
*Example*
18
19
<pre>
20
; Print number of emoticons.
21
//echo -ag $emoticons(0)
22
23
; Print the 5th emoticon.
24 2 Per Amundsen
//echo -ag The 5th emoticon keyword is $emoticons(5)
25 3 Per Amundsen
26
; Check if "Hello" is an emoticon.
27
//echo -ag Hello $iif($emoticons(Hello), is, is not) an emoticon.
28 1 Per Amundsen
</pre>