Project

General

Profile

$screen » History » Version 3

Per Amundsen, 02/23/2023 07:41 PM

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 3 Per Amundsen
table(ktable).
16
|*Parameter*|*Description*|
17
| N | If N = 0, the number of screens found, otherwise the Nth screen. |
18 1 Per Amundsen
19 2 Per Amundsen
*Example*
20
21 1 Per Amundsen
<pre>
22
; Print number of screens.
23
//echo -ag $screen(0)
24
25
; Print the name of the first screen found.
26
//echo -ag $screen(1)
27
</pre>