[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
##############################################################################
###+--------+#################################################################
#+-| PROW() |------------------------------------------+######################
#| +--------+ Returns the current printer row position |######################
#+-----------------------------------------------------+######################
##############################################################################
##############################################################################
#+--| Summary |------------+##################################################
#|     #INCLUDE io.hdr     |##################################################
#+-------------------------+##################################################
##############################################################################
##############################################################################
#+--| Syntax |--------------------------+#####################################
#|     FUNCTION UINT prow PROTOTYPE     |#####################################
#+--------------------------------------+#####################################
##############################################################################
##############################################################################
#####################+---| Description |---------------+######################
#####################| The prow() function returns the |######################
#####################| current printer row position.   |######################
#####################+---------------------------------+######################
##############################################################################
##############################################################################
#########+--| Example 1 |-------------------------------------------+#########
#########| *    Send an eject to the printer every 35 lines.        |#########
#########|                                                          |#########
#########| IF prow() >=35                                           |#########
#########|     EJECT                                                |#########
#########| ENDIF                                                    |#########
#########+----------------------------------------------------------+#########
##############################################################################
##############################################################################
#########+--| Example 2 |-------------------------------------------+#########
#########| *    Print "Happy Holidays" at the bottom of a circular. |#########
#########|                                                          |#########
#########| IF prow() = 55                                           |#########
#########|    ? center( "Happy Holidays",80 )                       |#########
#########|    EJECT                                                 |#########
#########| ENDIF                                                    |#########
#########+----------------------------------------------------------+#########
##############################################################################

See Also: col() pcol() row()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson