$screenw » History » Version 1
Per Amundsen, 08/11/2015 10:56 AM
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 | N - If N = 0, the number of screens found, otherwise the Nth screen. |
||
16 | |||
17 | *Example* |
||
18 | |||
19 | <pre> |
||
20 | ; Print number of screens. |
||
21 | //echo -ag $screenw(0) |
||
22 | |||
23 | ; Print the width of the first screen found. |
||
24 | //echo -ag $screenw(1) |
||
25 | </pre> |