cfunc.prompt
Pick/BASIC 'prompt' functionality from C.
Syntax
int _CP_prompt(CPSTR* string)
Description
equivalent to the Pick/BASIC statement: prompt
This function returns -1 if an error occurs. The error code is contained in _CP_errno.
Example
CPSTR * s = _CP_mkstr('>');
_CP_prompt(s);
Sets the prompt to '>'.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
