Tags:
create new tag
view all tags

.ENV GET SCREEN SIZE

This subroutine returns the size of the Appx screen in rows and columns.


Usage:

      PASS         <rows>                     FIELD            SHARE? Y
      PASS         <cols>                     FIELD            SHARE? Y
      GOSUB    --- .ENV GET SCREEN SIZE
      *        Check for errors
      IF       --- .ENV GET SCREEN SIZE       NE

Description:

This subroutine returns the size of the Appx screen in rows and columns. All parameters are required, if any are missing the subroutine will CANCEL.

<rows> returns current setting for the numbers of rows, (Required). This must be PASSed with Share "Y" to return the value.

<cols> returns the current setting for the number of columns (Required). This must be PASSed with Share "Y" to return the value.

Note that if either receiving field is too small to contain the numeric value returned, an Overflow runtime error will occur.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2012-01-27

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-02-10 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback