We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technical expertise
Use options in user-defined functions.
Define a function’s optionsDefine the options for a function named shout, giving the options’ default values:
Define the function, including OptionsPattern[] as the last argumentBegin the definition of the shout function, giving OptionsPattern[] as the last argument. OptionsPattern[] indicates that options can occur in that position:
Refer to option values in the function bodyComplete the function definition, referring to option values in the body of the function with OptionValue:
Invoking the function without options uses the default values of the options:
Give options to change the defaults:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4