| _CP_print_on | Index Level | _CP_read |
| Syntax | int _CP_prompt(CPSTR* string) |
| Category | C Interface |
| Type | C Function |
| Description |
equivalent to the FlashBASIC statement: prompt
This function returns -1 if an error occurs. The error code is contained in _CP_errno. |
| Options | |
| See Also | C Functions introduction |
| Example |
CPSTR * s = _CP_mkstr(">");
_CP_prompt(s); Sets the prompt to ">". |
| Warnings | This function does not affect Unix input routines. |
| Compatibility | AP 6.1 |
| _CP_print_on | Index Level | _CP_read |