Posted By
JamesC on 2003-10-18
| Re: PLOT function from BASIC
Yes, I said we can also READ the location: >When called with the carry flag set, this routine returns the cursor position. (from the US Plus/4 PRG, page 315)
However we can also PEEK(202) for the column and (205) for the row. This saves a BASIC programmer (like me) from having to learn machine language routines.
As I pointed out above, using PLOT destroys any text-screen windows you may have set (with ESC-T and ESC-B). By using CHAR and the PEEKs, the text window is preserved.
|