$MessageGroups

$MessageGroups

is the list of rules that gives named message groups used in functions like On and Quiet.

Details

  • The value of $MessageGroups has the form {"name":>{symbol::tag,},}.
  • Named groups can also appear on the right-hand side of the definitions.
  • $MessageGroups can be reset. Any string can be used as the name of a message group.
  • Named message groups can be used in On, Off, Check, Quiet.
  • Predefined named message groups include:
  • "Compiler"warnings associated with compiled code
    "Graphics"warnings associated with graphics generation
    "Obsolete"warnings for obsolete functions and packages
    "Packing"notifications associated with packed arrays
    "Spelling"spell-checking messages for symbol names
    "Symbolics"warnings associated with symbolic computation

Examples

open allclose all

Basic Examples  (1)

Get the list of the existing message groups:

Scope  (1)

Get the list of messages associated with packed arrays:

Define a new group comprised of the existing groups:

Applications  (2)

Check for unpacking of arrays:

This produces rational numbers and has to unpack:

Using inexact numbers leaves the array packed:

Quiet the compiler warnings that allow the evaluation to proceed:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_$messagegroups, author="Wolfram Research", title="{$MessageGroups}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/$MessageGroups.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$messagegroups, organization={Wolfram Research}, title={$MessageGroups}, year={2008}, url={https://reference.wolfram.com/language/ref/$MessageGroups.html}, note=[Accessed: 22-November-2024 ]}