Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug in Tk menu entry index handling

0 views
Skip to first unread message

Randolf Schultz

unread,
May 8, 2007, 8:36:51 AM5/8/07
to
Hello,

the following code does not raise an error, which I consider a bug(let),
in atleast 8.4.12 (tested):
-snip-
menu .m
.m add command
.m type 200
-snap-

The ridiculously high index 200 is treated as "end", but the manual page
does not mention this.
A -1 as index raises an error.
Is it a bug or a feature (and thus just missing documentation)?
Is such index handling present in other places (in Tcl or Tk)?

best regards,
Randolf,
--
http://www.ayam3d.org/ Reconstruct the World!

0 new messages