Terminal control/Dimensions: Difference between revisions

Content added Content deleted
(→‎{{header|REXX}}: added a link to the SCRSIZE REXX program.)
m (→‎{{header|REXX}}: added a link to the LINESIZE.REX program.)
Line 434: Line 434:
The <code>LINESIZE</code> built-in function returns the (terminal) screen's width. It is supported by most (classic) REXX interpreters (and some others) such as: CMS REXX, TSO REXX, VSE REXX, the IBM REXX compiler, PC/REXX, Personal REXX, REXX/imc, R4 and ROO. A sample usage of it is:
The <code>LINESIZE</code> built-in function returns the (terminal) screen's width. It is supported by most (classic) REXX interpreters (and some others) such as: CMS REXX, TSO REXX, VSE REXX, the IBM REXX compiler, PC/REXX, Personal REXX, REXX/imc, R4 and ROO. A sample usage of it is:
<lang rexx>width=linesize()</lang>
<lang rexx>width=linesize()</lang>
This REXX program makes use of &nbsp; '''LINESIZE''' &nbsp; REXX program (or BIF) which is used to determine the screen width (or linesize) of the terminal (console).
<br>The &nbsp; '''LINESIZE.REX''' &nbsp; REXX program is included here ──► [[LINESIZE.REX]].


===SCRSIZE===
===SCRSIZE===