This is the mail archive of the sourcenav@sources.redhat.com mailing list for the Source Navigator.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Source Navigator 5.0 and [incr TCL]


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
  }
}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]