This is the mail archive of the
sourcenav@sources.redhat.com
mailing list for the Source Navigator.
Source Navigator 5.0 and [incr TCL]
- To: sourcenav at sources dot redhat dot com
- Subject: Source Navigator 5.0 and [incr TCL]
- From: Rodger Hughes <rodger at synchronicity dot com>
- Date: Wed, 06 Jun 2001 17:16:36 -0700
Hello Source-Navigator Team.
I've just started playing with SN 5.0 and I can not get it to recognize
classes, methods etc... in my ITCL source. I've even tried a very
simple
itcl source (see below.) I'm running under Window NT 4.0 SP6.
I also tried SN 4.5.2 and get the same results. It ignores the classes,
treats
the methods as functions. The only "classes" I can get it to recognize
are
tcl namespaces.
Also, if add an inherit foo line to the Timer class I get an error when
the code
parses.
>From what I've seen, SN looks really useful.
Second Question: whats the proper way to install 5.0 on windows? The
binaries (.zip file) doesn't have an installer like 4.5.2 does and there
aren't
any instructions.
Thanks
Rodger Hughes.
tmp.proj
package require Itcl
::itcl::class foo {
private variable f_up
private varible f_act
public method fup {} {
puts $up
}
public method fact {} {
puts $act
}
constructor {up act} {
set f_up $up
set f_act $act
}
}
::itcl::class Timer {
#inherit foo
private variable t_up
private varible t_act
public method up {} {
puts $up
}
public method act {} {
puts $act
}
constructor {up act} {
set t_up $up
set t_act $act
}
}