Skip to content

Commit 7d7c217

Browse files
authored
Update 636-graphics-ypos.markdown
1 parent b738a3f commit 7d7c217

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
# YPOS
22

3-
> YPOS
3+
> n = YPOS
44
5-
Returns the current Y position of the cursor in "characters".
5+
Returns the current Y-position of the text cursor in "characters".
6+
7+
See XPOS for X-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)