⚠️ Warning: This is a draft ⚠️

This means it might contain formatting issues, incorrect code, conceptual problems, or other severe issues.

If you want to help to improve and eventually enable this page, please fork RosettaGit's repository and open a merge request on GitHub.

The '''SCRSIZE.HEL''' is the HELp documentation for the '''SCRSIZE.REX''' (REXX) program.

 ║ REXX function to return the screen depth and screen width (as a REXX ║
 ║ RESULT).                                                             ║
 ║                                                                      ║
 ║ The two Environment variables   COLUMNS  and   LINES   are examined, ║
 ║ and if present,  their values are extracted and returned.            ║
 ║                                                                      ║
 ║ If the  EnvVar variables aren't defined,  the DOS command   MODE CON ║
 ║ is issued and it's output is filtered (with FIND)  and written to a  ║
 ║ temporary file, and is scanned for the lines:  Columns [:=] nn       ║
 ║                                         and:   Lines   [:=] nn       ║
 ║                                                                      ║
 ║ If the values  aren't  available  or  invalid,  a value of  zero(s)  ║
 ║ is/are returned.                                                     ║
 ║                                                                      ║
 ║ If program is running under  PC/REXX  or  R4,  this routine should   ║
 ║ never be invoked as  PC/REXX  and  R4  have their own built-in       ║
 ║ function (BIF)    SCRSIZE.                                           ║
 ║                                                                      ║
 ║ This program shouldn't be "compiled" with PC/REXX with the  /L  opt. ║


[[Category:REXX library routines]]