| |||
| Home > RealView Debugger Predefined Macros > Alphabetical predefined macro reference > prompt_yesno | |||
Displays a dialog containing question text, and Yes and No buttons.
This macro is not available in the headless debugger.
int prompt_yesno (message) char *message;
where:
messageThe text that you want to appear as a question on the dialog.
This macro displays a dialog containing question text and two buttons (Yes and No) for the user reply.
This example shows how to use prompt_yesno on
the command line:
> ce prompt_yesno("Is everything OK?")
Result is: 0 0x00000000