is a construct for use inside AskFunction that asks for a new value, appends it to the current value associated with "key", and returns the resulting list.
uses formspec to define how input should be requested and interpreted.
- If there is no value yet associated with "key", AskAppend will put the new value it obtains in a list.
- Executing AskAppend again with the same key will append each new value to the list associated with the key.
- If there is an existing value associated with "key" that was obtained from Ask, AskAppend will put this value in a list before appending a new value.
Examplesopen allclose all
Basic Examples (2)
Ask a question several times, appending each answer to a list:
Use AskAppend to accumulate inputs:
Wolfram Research (2016), AskAppend, Wolfram Language function, https://reference.wolfram.com/language/ref/AskAppend.html.
Wolfram Language. 2016. "AskAppend." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AskAppend.html.
Wolfram Language. (2016). AskAppend. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AskAppend.html