# MX\_GETPROMPT, SETPROMPT
> [HTML Version](mx_get_set_prompt.htm)
_Reviewed and revised April 2024_
**xcall MIAMEX, MX\_GETPROMPT, prompt**
**xcall MIAMEX, MX\_SETPROMPT, prompt**
MX\_GETPROMPT (MIAMEX 24) gets, and MX\_SETPROMPT (MIAMEX 6) sets, the prompt used at the command level.
**Parameters**
_prompt_ ([String](string.htm.md)) \[in for SET, out for GET\]
**Comments**
The maximum allowable prompt length is 20 characters.
The prompt can also be set via the SET command.
The system prompt or command level prompt is also known as the "dot prompt" because the default prompt is a single dot.