Terminal control/Dimensions: Difference between revisions
Content added Content deleted
Simple9371 (talk | contribs) |
Simple9371 (talk | contribs) (Add Batch File) |
||
Line 29: | Line 29: | ||
=={{header|Axe}}== |
=={{header|Axe}}== |
||
Since Axe currently only supports the TI-83/84, the home screen dimensions are fixed at 16 columns by 8 rows. |
Since Axe currently only supports the TI-83/84, the home screen dimensions are fixed at 16 columns by 8 rows. |
||
=={{header|Batch File}}== |
|||
'''Screen Buffer Size:''' |
|||
<lang dos>@echo off |
|||
for /f "tokens=1,2 delims= " %%A in ('mode con') do ( |
|||
if "%%A"=="Lines:" set line=%%B |
|||
if "%%A"=="Columns:" set cols=%%B |
|||
) |
|||
echo Line: %line% |
|||
echo Columns: %cols% |
|||
exit /b 0</lang> |
|||
{{Out}} |
|||
<pre>>Size.Bat |
|||
Line: 300 |
|||
Columns: 80 |
|||
></pre> |
|||
=={{header|BBC BASIC}}== |
=={{header|BBC BASIC}}== |