@nataliapc/mcp-openmsx
Version:
Model context protocol server for openMSX automation and control
37 lines (21 loc) • 415 B
Markdown
# POS()
## Effect
Returns the horizontal coordinate of the cursor.
## Syntax
`POS(<Value>)`
## Parameter
`<Value>` is a dummy value or variable but cannot be omitted.
## Example
```basic
10 CLS
20 LOCATE 14,1:PRINT "Example of POS";
30 PRINT POS(0)
RUN
Example of POS 14
```
## Related to
`CSRLIN`
## Compatibility
MSX-BASIC 1.0 or higher
## Source
Retrieved from "https://www.msx.org/wiki/POS()"