Prints text at a specific position on the current active Form or Printer object.
Print At(column,row);exp1 [,[At(column,row;] exp2,...]
Print ATXY(column, row);exp[,[ATXY(column, row);]exp2,...]
Print ATYX(row, column);exp[,[ATYX(row, column);]exp2,...]
column, row:iexp, cursor position
exp1, exp2:aexp or sexp
Print At(column, row) followed by an expression, performs the output of this expression at the cursor position defined by column and row. Print At() without any parameters performs a line feed. The list of parameters after Print At() can contain other At() instructions which then apply to printing of expressions following after them. i.e. at the corresponding column and row.
Print ATXY(column, row) is the same as Print At(column, row) and Print ATYX(row, column) different only in the order of the parameters - it states the row first, not the column.
Local a%
OpenW # 1
Print AT(7, 12); "What do you get";
Print AT(7, 13); "when you multiply"
Print AT(7, 14); "6 by 7"; AT(7, 16); " 42!!! "
Print ATXY(4, 6); "What do you get";
Print ATXY(4, 7); "when you multiply"
Print ATXY(4, 8); "6 by 8"; ATXY(4, 10); " 48!!! "
Print ATYX(1, 1); "What do you get";
Print ATYX(2, 1); "when you multiply"
Print ATYX(3, 1); "6 by 9"; ATYX(4, 1); " 54!!! "
The Text command is recommended for output. It is considerably faster.
{Created by Sjouke Hamstra; Last updated: 21/10/2014 by James Gaite}