|
Purpose |
Confirms an action |
|
Old name |
#define confirm sys_del_confirm |
|
Syntax |
int sys_del_confirm(void) |
|
Description |
The sys_del_confirm() function displays map 184 from the SYSTEM mapset on the SYSTEM database, as shown below: Do you really want to do this ? This function obtains a Y(es) or N(o) answer from the user. The initial value displayed is NO. The global variable rmk_flags is used to specify the display format for the above map. sys_del_confirm() sets the global variable jump to FALSE so the user cannot skip this function. This function is commonly used to get a confirmation from the user when the program is about to delete records. |
|
Return values |
Returns TRUE if user enters YES, otherwise FALSE. |
|
See also |