MAXROW() and MAXCOL() reflect the Application window
True usage of MAXROW() and MAXCOL()
──────────────────────────────────────────────────────────────────────────────

Expressing MAXROW() or MAXCOL() within the command/expression window will
return MAXROW() or MAXCOL() for the application window, not the co-ordinates
that the debugger uses.