Anonymous user
Terminal control/Dimensions: Difference between revisions
→{{header|Euphoria}}
m (→{{header|REXX}}: added use of LINESIZE() bif for some REXX interpreters.) |
|||
Line 2:
Determine the height and width of the terminal, and store this information into variables for subsequent use.
[[Terminal Control::task| ]]
=={{header|Euphoria}}==
<lang Euphoria>include graphics.e
sequence vc
vc = video_config()
printf(1,"Terminal height is %d\n",vc[VC_LINES])
printf(1,"Terminal width is %d\n",vc[VC_COLUMNS])</lang>
=={{header|Forth}}==
|