| |||
| 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 0x00
The following macros provide similar or related functionality:
prompt_file on prompt_file
prompt_list on prompt_list
prompt_text on prompt_text
prompt_yesnocancel on prompt_yesno_cancel.