Terminal control/Dimensions: Difference between revisions
→{{header|Locomotive Basic}}
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
Fredisland (talk | contribs) |
||
Line 547:
20 |getwh,@w%,@h% ' call RSX and pass variables as pointers
30 PRINT "window width:"; w%; ", height:"; h%</syntaxhighlight>
But the fastest way is still to use the system values for the current window :
<syntaxhighlight lang="locobasic">10 PRINT "window width:"PEEK(&B72C)+1", height:"PEEK(&B72B)+1
</syntaxhighlight>
=={{header|Mathematica}}/{{header|Wolfram Language}}==
|