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 - prow() return the current printer row position http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 prow()              Return the current printer row position
------------------------------------------------------------------------------
 Declaration
   printer.hdr

 Syntax
   func uint prow extern

 Arguments
   None.

 Return
   The current row position of the printer.

 Description
   The prow() function returns the current printer row position.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_prow
   // Send an eject to the printer every 35 lines
   if prow() >= 35
      eject
   endif
   // Print "Happy Holidays" at the bottom of a circular
   if prow() == 55
      ? center( "Happy Holidays", 80 )
      eject
   endif
   endproc

   proc main
   Test_prow()
   endproc

See Also: __prow pcol()

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