xcall MIAMEX, MX_GETPROMPT, prompt
MX_GETPROMPT returns the current A-Shell command prompt string. The prompt parameter should be a string variable large enough to hold the longest possible prompt (20 characters). See MX_SETPROMPT to set the current prompt.