[EMAIL PROTECTED] writes:
> They used to be in the VARS array. Now, the documentation says to
> call hgetvars to populate the array. Unfortunately, only the ENVS
> array gets populated by that. In fact, there is no string "VARS" in
> the entire tcl_commands.c :(
First of all, hgetvars is mentioned because at one point it was
necessary to call it. I'll change the docs. mod_dtcl has changed a
lot since when I began the project:-)
Second, VARS still exists, by default, unless this is set in
mod_dtcl.h:
/* Turn off 'old-style' $VARS variable handling, and use only the
'var' command. */
#define USE_ONLY_VAR_COMMAND 0
but VARS gets created in mod_dtcl.c...oops, I did have an #if
backwards. Thanks for catching this:-) Fixed and committed.
> What's the new procedure (and why is it not documented)?
The new procedure is the 'var' command, as discussed here a few weeks
ago. And it is documented on the 'commands' page. I need to create a
few new examples pages, though (one for .tcl files too).
Thanks again... If no one tells me what they don't like or if
something isn't working for them, it doesn't get fixed!
--
David N. Welton
Free Software: http://people.debian.org/~davidw/
Apache Tcl: http://tcl.apache.org/
Personal: http://www.efn.org/~davidw/
Work: http://www.innominate.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]