A.29 library(option): Option list processing
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(option): Option list processing
          • option/3
          • option/2
          • select_option/3
          • select_option/4
          • merge_options/3
          • meta_options/3
          • dict_options/2
    • Packages
Availability::- use_module(library(option)).(can be autoloaded)
Source[semidet]option(?Option, +OptionList)
Get an Option from OptionList. OptionList can use the Name=Value as well as the Name(Value) convention. Fails silently if the option does not appear in OptionList.
Option Term of the form Name(?Value).