Terminal control/Dimensions: Difference between revisions
Content added Content deleted
m (→Ncurses: add libheader) |
(→{{header|REXX}}: added a link to the SCRSIZE REXX program.) |
||
Line 438: | Line 438: | ||
<code>SCRSIZE</code> is another built-in function, and returns two integers: the screen depth and the screen width. A few classic REXX interpreters support it: PC/REXX, Personal REXX, R4 and ROO. |
<code>SCRSIZE</code> is another built-in function, and returns two integers: the screen depth and the screen width. A few classic REXX interpreters support it: PC/REXX, Personal REXX, R4 and ROO. |
||
<lang rexx> parse value scrsize() with sd sw</lang> |
<lang rexx> parse value scrsize() with sd sw</lang> |
||
The above example makes use of '''SCRSIZE''' REXX program (of BIF) which is used to determine the screen size of the terminal (console). |
|||
<br>The '''SCRSIZE.REX''' REXX program is included here ──► [[SCRSIZE.REX]].<br> |
|||
=={{header|Ruby}}== |
=={{header|Ruby}}== |