Terminal control/Dimensions: Difference between revisions

m (syntax highlighting fixup automation)
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}}==
3

edits