Re: A83: Question


[Prev][Next][Index][Thread]

Re: A83: Question





Evil Sam wrote:
> 
> >Come on, somebody answer this please, I'll shorten my questions...
> >
> >1. (pencol) & (penrow), Which is X and which is Y?
> >
> 
> 82 equates:
>     Pencol = CURSOR_X
>     Penrow = CURSOR_Y
> 
>  Don't know why though. "Col"umns are vertical, and Rows are horizontal
> so the opposite should be true. Anyway X and Y are determined by the
> numbers loaded into penrow or pencol. Pencol, penrow, currow, curcol is
> simply determine how the text is displayed not where.
> 

Yes you are right, and wrong :)  cols are vertical and rows are horizontal..
therefor it is perfectly logic with col as x and row as y

look at this:
	   x-axis ->
      y	 cols: 0 1 2 3 4 5 6 7 8 9 	
      | row 0  x x x x x x x x x x 
      V row 1  x x x x x x x x x x 
        row 2  x x x x x x x x x x 
        row 3  x x x x x x x x x x 
        row 4  x x x x x x x x x x 

so.. the Y-value is which row you wantto be in, the penrow..   and x is which
column you want to be in, pencol..

//Olle


References: