Project

General

Profile

$screen » History » Version 2

Per Amundsen, 08/11/2015 10:55 AM

1 1 Per Amundsen
_Added in 1.8.2_
2
3
*$screen*
4
5
Returns the name of the first screen found.
6
7
-----------------------------------------------------------------------------
8
9
*$screen(N)*
10
11
Returns the name of the Nth screen found.
12
13
*Parameters*
14
15
N - If N = 0, the number of screens found, otherwise the Nth screen.
16
17 2 Per Amundsen
*Example*
18
19 1 Per Amundsen
<pre>
20
; Print number of screens.
21
//echo -ag $screen(0)
22
23
; Print the name of the first screen found.
24
//echo -ag $screen(1)
25
</pre>