Jump to content

Terminal control/Dimensions: Difference between revisions

m
→‎{{header|REXX}}: added a link to the LINESIZE.REX program.
(→‎{{header|REXX}}: added a link to the SCRSIZE REXX program.)
m (→‎{{header|REXX}}: added a link to the LINESIZE.REX program.)
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:
<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===
Cookies help us deliver our services. By using our services, you agree to our use of cookies.