Project

General

Profile

$screenw » History » Version 2

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

1 1 Per Amundsen
_Added in 1.8.2_
2
3
*$screenw*
4
5
Returns the width of the first screen found.
6
7
-----------------------------------------------------------------------------
8
9
*$screenw(N)*
10
11
Returns the width of the Nth screen found.
12
13
*Parameters*
14
15 2 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
*Example*
20
21
<pre>
22
; Print number of screens.
23
//echo -ag $screenw(0)
24
25
; Print the width of the first screen found.
26
//echo -ag $screenw(1)
27
</pre>