Skip to content
Tristan Hume edited this page Apr 23, 2012 · 3 revisions

#whatrow

##Syntax whatrow : int

##Description The whatrow function is used to determine the cursor position's row.

##Example This program outputs The current row is 5, the current column is 15.

    locate  ( 5, 10 )
    put "12345"..
    put "The current row is", whatrow
    put "The current column is", whatcol

##Details The screen should be in a "screen" or "graphics" mode. whatrow functions properly even if the cursor is invisible.

##See also the whatcol.html function, which is used to set.html the determine the cursor column. See also the locate.html, maxrow.html and maxcol.html procedure.html.

See also predefined unit textmodule.html.

Clone this wiki locally