$gfx » History » Version 5
Per Amundsen, 02/23/2023 12:11 AM
1 | 1 | Per Amundsen | _Added in 1.6_ |
---|---|---|---|
2 | |||
3 | *$gfx* |
||
4 | |||
5 | Returns the name of the first graphics card found. |
||
6 | |||
7 | _Might not be the default graphics card._ |
||
8 | |||
9 | 3 | Per Amundsen | ----------------------------------------------------------------------------- |
10 | |||
11 | 4 | Per Amundsen | *$gfx(N)* |
12 | 1 | Per Amundsen | |
13 | Returns the name of the Nth graphics card found. |
||
14 | |||
15 | *Parameters* |
||
16 | |||
17 | 5 | Per Amundsen | table(ktable). |
18 | |*Parameter*|*Description*| |
||
19 | | N | If N = 0, number of graphics cards, otherwise the Nth graphics card. | |
||
20 | 1 | Per Amundsen | |
21 | *Example* |
||
22 | |||
23 | <pre> |
||
24 | ; Print number of graphics cards. |
||
25 | //echo -ag $gfx(0) |
||
26 | |||
27 | ; Print the name of the first graphics cards. |
||
28 | //echo -ag $gfx(1) |
||
29 | </pre> |