AskDisplay

AskDisplay[expr]

is a construct for use inside AskFunction that displays the result of evaluating expr in the context of the AskFunction.

Details

  • AskDisplay generates a temporary display that is dismissed by clicking a button.
  • Before AskDisplay[expr] displays a result, any inner Ask and related functions will interactively ask for values if the values are not already known.

Examples

open all close all

Basic Examples  (2)

Use AskDisplay to display messages:

In[1]:=
Click for copyable input
Out[1]=

Messages can themselves contain Ask objects to reference known values:

In[1]:=
Click for copyable input
Out[1]=

Generalizations & Extensions  (1)

Introduced in 2016
(10.4)