Anonymous user
Terminal control/Dimensions: Difference between revisions
→{{header|REXX}}: added ''versions'' for the two REXX examples, expanded the comments. -- ~~~~
(Added BBC BASIC) |
(→{{header|REXX}}: added ''versions'' for the two REXX examples, expanded the comments. -- ~~~~) |
||
Line 253:
=={{header|REXX}}==
===using TPUT under Linux/Unix===
{{works with|brexx}}
{{works with|regina}}
Line 267:
say 'and has' height 'lines'
</lang>
===using LINESIZE bif===
<br>LINESIZE built-in function which returns the screen's width. ▼
Most (classic) REXX interpreters (and some others) such as
* CMS REXX
* TSO REXX
width=linesize()▼
* VSE REXX
* IBM REXX compiler
* PC/REXX
* Personal REXX
* REXX/imc
* R4
* ROO
<br><br>A sample usage of the '''linesize''' bif is:
▲<lang rexx>width=linesize()</lang>
=={{header|Ruby}}==
|