Anonymous user
Terminal control/Dimensions: Difference between revisions
Added BBC BASIC
No edit summary |
(Added BBC BASIC) |
||
Line 22:
rows := bottom - top + 1
MsgBox %columns% columns and %rows% rows</lang>
=={{header|BBC BASIC}}==
{{works with|BBC BASIC for Windows}}
<lang bbcbasic> dx% = @vdu.tr%-@vdu.tl% : REM Width of text viewport in pixels
dy% = @vdu.tb%-@vdu.tt% : REM Height of text viewport in pixels</lang>
=={{header|C}}==
C provides no standard way to find the size of a terminal.
|