Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

An Enhanced Version of The Package FilterOptions`Utilities`
Author

Ted Ersek
Organization: Naval Air Warfare Center, Aircraft Division
URL: http://www.verbeia.com/mathematica/
Old MathSource #

0210-711
Revision date

2004-05-14
Description

The standard package Utilities`FilterOptions` was modified to include a new function called CheckOptions.

CheckOptions[func,opts] returns True if opts is an empty list or includes only options supported by func. If opts includes options not supported by func, then an appropriate message is posted and False is returned. CheckOptions[func] returns True. The second argument in CheckOptions can be a list or a sequence of options.
Subjects

*Wolfram Technology > Programming > Options
*Wolfram Technology > Programming > Packages and Contexts
Keywords

FilterOptions, Valid Options, Invalid Options, Errors Messages, Message
Downloads Download Wolfram CDF Player

Download
FilterOptions.m (1.9 KB) - Mathematica package [for Mathematica 5.0]
Download
FilterOptions.nb (11.8 KB) - Mathematica notebook [for Mathematica 5.0]