$screenh » History » Version 3
Per Amundsen, 02/23/2023 07:34 PM
1 | 1 | Per Amundsen | _Added in 1.8.2_ |
---|---|---|---|
2 | |||
3 | *$screenh* |
||
4 | |||
5 | Returns the height of the first screen found. |
||
6 | |||
7 | ----------------------------------------------------------------------------- |
||
8 | |||
9 | *$screenh(N)* |
||
10 | |||
11 | 2 | Per Amundsen | Returns the height of the Nth screen found. |
12 | 1 | Per Amundsen | |
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 | *Example* |
||
20 | |||
21 | <pre> |
||
22 | ; Print number of screens. |
||
23 | //echo -ag $screenh(0) |
||
24 | |||
25 | ; Print the height of the first screen found. |
||
26 | //echo -ag $screenh(1) |
||
27 | </pre> |