Re: More info on how to introspect on ITcl classes?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: More info on how to introspect on ITcl classes?

From: <dbariod@norspam.com>
Date: Fri Jul 29 2005 - 09:36:54 CEST

On Thu, 28 Jul 2005, Helmut Giese wrote:

> Hello out there,
> given an ITcl object saying
> $myObj info
> gives the following result:
>
> wrong # args: should be one of...
> info args procname
> info body procname
> info class
> info function ?name? ?-protection? ?-type? ?-name? ?-args? ?-body?
> info heritage
> info inherit
> info variable ?name? ?-protection? ?-type? ?-name? ?-init? ?-value?
> ?-config?
> ..and others described on the man page
>
> 'described on the man page': which man page? The page(s) to ITcl don't
> say anything to 'info' and of course [info]s page doesn't say anything
> about ITcl's internal introspection capabilities.
>

Look at the class.n man page, in the section "BUILT-IN METHODS".
It describes several common methods binds to any object of any class.

------------------------------
David Bariod
For email replace spam by tel
Received on Thu Sep 29 14:27:53 2005