Options Management

Directly integrated into the Wolfram Language is a convenient symbolic options mechanism that allows arbitrary sequences of named parameters to be given to both built-in and user-defined functions.

opt->val an option whose value is evaluated immediately

opt:>val an option whose value is evaluated when it is used

Setting Up Options for Functions

SetOptions set up default option values for a function

OptionsPattern a pattern representing an arbitrary sequence of options

OptionValue retrieve values of options while executing a function

FilterRules filter particular options from a longer list

ArgumentsOptions split apart the positional arguments and options in an expression

CheckArguments verify option names and number of arguments in an expression

Options get the options for a function or object with options

AbsoluteOptions get explicit values for options that are given as Automatic, etc.

Common Generic Option Values

True  ▪  False  ▪  Automatic  ▪  All  ▪  None  ▪  Full  ▪  Inherited  ▪  Manual