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
Code samples using XPOS
Graphics
ARC
CHART
CIRCLE
COLOR
DRAW
DRAWPOLY
IMAGE
LINE
PAINT
PEN
PLOT
POINT
PSET
RECT
RGB
RGBF
SHOWPAGE
TEXTHEIGHT
TEXTWIDTH
TXTH
TXTW
VIEW
WINDOW
XMAX
XPOS
YMAX
YPOS
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.