CSRX and CSRY (System Variable)

and  are integer read-only system variables which describe the position of the cursor. can have values from  to   inclusive, and   can have values from   to   inclusive.

If  is 0, then you   a character, the character will appear at the top of the screen. If  is 23, a ed character will appear at the bottom of the screen.

If  is 0, a  ed character will appear on the left side, if  is 10, it will appear approximately one-third the way across. However, if  is 31, it could indicate one of two possible situations; either the next ed character will appear on the very right, or it will appear on the very left of the line below (and the display will scroll up if necessary). The second situation may occur if  command shows a string that ends in the rightmost column, and the command ends with a. The following pieces of code illustrate this point.

will result in  having the value , as expected.

will result in  having the value , also as expected.

will also result in  having the value. This result is somewhat inconsistent.