Skip to content

Commit b738a3f

Browse files
authored
Update 635-graphics-xpos.markdown
1 parent 240ee4b commit b738a3f

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed
Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
# XPOS
22

3-
> XPOS
3+
> n = XPOS
44
5-
Returns the current X position of the cursor in "characters".
5+
Returns the current X-position of the text cursor in "characters".
6+
7+
See YPOS for Y-position.
8+
9+
### Example
10+
11+
```
12+
locate 10,5
13+
print XPOS, YPOS ' Output 5 10
14+
```
615

716

0 commit comments

Comments
 (0)