Wolfram Language & System 11.0 (2016)|Legacy Documentation
This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)
applies the function fun to determine how to ask for confirmation.
applies the string "str" as a string template to ask for confirmation.
- AskConfirm returns the value associated with "key" when confirmation was accepted.
- If confirmation is not accepted, AskConfirm["key"] effectively rewinds evaluation inside an AskFunction back to the previous time a value for "key" was requested.
- In the context of the second argument of AskConfirm, the StringTemplate is applied with the association <|"key"->key, "value"->value|>.
Introduced in 2016