Hello,
Lubos Vrba wrote:
> Is it possible to get all variables defined in some interptreter?
> I mean defined via tcl "set" command and via "setVar" Jacl command.
I think, 'info vars' will do the trick:
tclsh8.2 [~] info vars
tcl_rcFileName tcl_version argv argv0 tcl_interactive tcl_traceCompile auto_oldpath
errorCode auto_path errorInfo auto_execs auto_index env tcl_pkgPath
tcl_patchLevel tclreadline_library tclreadline_version argc tcl_libPath tcl_traceExec
tcl_library tcl_platform
tclsh8.2 [~] info vars te*
tclsh8.2 [~] set testVar 42
42
tclsh8.2 [~] info vars te*
testVar
tclsh8.2 [~] exit
Hth, Krischan
--
Christian Krone, SQL Datenbanksysteme GmbH
----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe: send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com