TEXTRIGHT

//TEXTRIGHT, x, y, text

The logic is the same as for TEXTOUT, except that the specified xy position marks the right edge of the output rather than the left edge. Note that the vertical position with respect to the reference point is still determined by the SETTEXTALIGN options. As with TEXTOUT, TEXTRIGHT does not require that the text argument be quoted if it includes commas.