![]() | ![]() | ![]() |
| |||||||||||||||
|
NAMEparseopts - Option parsing for Tcl functions and Tk widgets. SYNOPSIS
parseopts arrayname specs options ?keepargs? DESCRIPTIONThis package provides some utilities for parsing procedure arguments in a generic way. It must not yet been considered as a public one. Its API is not yet stabilized, and will probably change in the future. parseopts arrayname specs options ?keepargs? Parse the arguments according to given specifications. matchopts validflags flag Try to match flag into a list of valid flags. Matching succeed either if flag belongs to list fo valid flags (exact match), or if one and only one flag matches flag* (partial match). numargs ?valid ...? Raise an error reporting a wrong number of arguments. Arguments describe list of all possible valid calling sequence, and will be returned into the error message. © 2000-2002 Evolane - all rights reserved. |
© 2001-2002 Evolane - tous droits réservés. Pour toute remarque, envoyez un courrier électronique à webmaster@evolane.com