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_col greatest column number http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 __max_col           Greatest column number
------------------------------------------------------------------------------
 Declaration
   screen.hdr

 Syntax
   uint __max_col

 Default
   79.

 Description
   The __max_col system variable contains the greatest column number
   available in the current screen mode.

 Example
   #define EXAMPLE_SCREEN
   #include example.hdr

   proc Test_max_col
   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_col()
   endproc

See Also: __max_row detectmaxrowcol()

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