$Inspector

$Inspector

is a global variable which gives a function to apply when the inspector is invoked from an interrupt menu.

Details

  • The argument supplied is the number of nested invocations of the inspector that are in use.
  • The default value of $Inspector is a function that executes Dialog[].

Examples

Basic Examples  (2)

The default value:

Print a message before starting or exiting a subsession:

Invoke an interrupt menu:

In subsession:

Restore to the default value:

Wolfram Research (1991), $Inspector, Wolfram Language function, https://reference.wolfram.com/language/ref/$Inspector.html.

Text

Wolfram Research (1991), $Inspector, Wolfram Language function, https://reference.wolfram.com/language/ref/$Inspector.html.

CMS

Wolfram Language. 1991. "$Inspector." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$Inspector.html.

APA

Wolfram Language. (1991). $Inspector. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$Inspector.html

BibTeX

@misc{reference.wolfram_2023_$inspector, author="Wolfram Research", title="{$Inspector}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/$Inspector.html}", note=[Accessed: 18-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_$inspector, organization={Wolfram Research}, title={$Inspector}, year={1991}, url={https://reference.wolfram.com/language/ref/$Inspector.html}, note=[Accessed: 18-March-2024 ]}