Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - __max_row greatest row number http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 __max_row           Greatest row number
------------------------------------------------------------------------------
 Declaration
   screen.hdr

 Syntax
   uint __max_row

 Default
   24.

 Description
   The __max_row system variable contains the greatest row number
   available in the current screen mode.

 Example
   #define EXAMPLE_SCREEN
   #include example.hdr

   proc Test_max_row
   vardef
      uint n
   enddef
   ? __max_row, __max_col
   wait
   setmode( 50, .f. )        // set 50 rows
   ? __max_row, __max_col
   wait
   setmode( 25, .f. )        // set 25 rows
   ? __max_row, __max_col
   wait
   endproc

   proc main
   Test_max_row()
   endproc

See Also: __max_col detectmaxrowcol()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson