Sorry, you need Tcl/Tk 8.3.2. The "end-1" way of specifying indexes
has been included in Tcl after the 8.0.5 version.

I don't think it is a risk at all to upgrade from 8.0.5 to 8.3.2. Major
extensions like BLT, [incr Tcl/Tk] and tkTable all work for 8.3.2.

Tcl/Tk code designed for 8.0.5 should run without change with 8.3.2
(but the opposite is not true).

CG



|--------+------------------------------------->
|        |          [EMAIL PROTECTED]        |
|        |          Sent by:                   |
|        |          [EMAIL PROTECTED]|
|        |          eforge.net                 |
|        |                                     |
|        |                                     |
|        |          04/04/2001 08:28 AM        |
|        |          Please respond to vtcl-user|
|        |                                     |
|--------+------------------------------------->
  
>-----------------------------------------------------------------------------------------------------------|
  |                                                                                    
                       |
  |       To:     [EMAIL PROTECTED]                                      
                       |
  |       cc:                                                                          
                       |
  |       Fax to:                                                                      
                       |
  |       Subject:     [vtcl-user] Menu errors                                         
                       |
  |                                                                                    
                       |
  
>-----------------------------------------------------------------------------------------------------------|





Hi list,

I get and install the Vtcl 1.5 beta 3 here. But I'm int trouble with the
menu
editor.

Firts I got the error message : end-1 is a bad index, must be integer or
end.
I edit the menus.tcl in yhe lib directory and chage the lines where appear

set menu [lindex $reference end-1]

for

set minha10 [llength $reference]
set minha9 [expr $minha10 - 1]

set menu [lindex $reference $minha9]

Whell with it done, this first error messagem disapear, but I recieve
another
one:

unknown option "-state"

I try to comment the line with the "-state" paremeter in the point
indicated by
the Stack Trace window, but when this message stops, I recieve another one:

can't read "mtype" : no such variable

Friends, I use the tk 8.0.5 and tcl 8.0.5 and I use the Vtcl to develop an
Configuration Tool for Named, Samba, Apache, Sendmail, DHCP and Squid
called
LESP - Linux Easy Server Project, and the Vtcl 1.2.0 works fine with the
menu
editor.

Any one can help me? or I need back to the Vtcl 1.2.0 version?

Ho! I tried the beta 4 but it's don't work too.

Thank for any comments.

Anahuac
LESP - Development Team
http://www.linuxview.com.br

_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user




_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to