xcall MIAMEX, MX_GETPROMPT, prompt
MX_GETPROMPT (MIAMEX 24) 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.