ecl-logo Documentation

DefineOptionSet

DefineOptionSet[symbol,ops]Null

sets the Options for symbol and saves metadata about the options for later usage.

Details

  • Option sets should be defined to describe a collection of common options used by many different functions which cannot inherited from a parent function.
  • When calling DefineOptions, option set symbols are meant to be used in-line, instead of directly defining every option they describe.
  • Input

Examples

Basic Examples  (3)

Set Options:

Set all types of options:

Option set can be overwritten by explicity listed options: