tepam

Difference between version 13 and 15 - Previous - Next
   * https://docsore.activestcl-lateng.comrg/activetcllib/8.5doc/trunk/embedded/md/tcllib/files/modules/tepam/tepam_introduction.htmld

   * This package provides a new Tcl procedure declaration syntax that simplifies the implementation of procedure subcommands and the handling of the different types of procedure arguments like flags or switches, options, unnamed arguments, optional and mandatory options and arguments, default values, etc. Procedure declarations can be enriched with detailed information about the procedure and its arguments. 

----
Is there anybody out there who can give some usage examples?

[ADr]: A first usage example is provided by the tepam introduction (see link on the top of this page). More examples are provided in an interactive demo that is part of tcllib (on Windows: <TclInstallPath>\demos\Tcllib\tepam). Hope this gives a good starting point.

----
[MHo]: What strikes me: How to get the values from ''argument_dialogbox'' back, if ''argument_dialogbox'' is called as an alias from within a ''slave interpreter''? The variables are created in the main interpreter, where the module is loaded. There is no access to those vars from a slave interpreter... I mean without defining a ''wrapper prog'' for fetching back each and every var...

Additions:
   * Is it possible to change aspects like ''padding'' and ''Binding'' other than via global option setting, if at all?
   * How to center a argument_dialogbox-window?
   * The argument_dialogbox-windows didn't get the input focus (at least at Windows). How to specify the first entry which does get input focus?
   * The '''-optional 0''' option doesn't seem to work for me

** See Also **

   * [ycl%|%ycl::proc::checkargs%|%]

** Misc **

----
'''[milarepa] - 2012-11-23 23:11:43'''

I used tepam for [Create words from a text file (list)].

<<categories>>Argument Processing