XPOS

n = XPOS

Returns the current X-position of the text cursor in “characters”.

See YPOS for Y-position.

Example

locate 10,5
print XPOS, YPOS        ' Output 5   10
Graphics
If there is insufficient information on this page and you wish learn more about XPOS, please send an email to smallbasic@gmail.com. You can help to improve information about XPOS by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.