#286 Error in addAnnotation when annotating a game (Tcl/Tk 9.0.4)
Hi,
There is an error when trying to annotate a game in Scid 5.2.202603 (Mar 6 2026) on Windows 11:
invalid character in array index
in expression "... < (0.0 - $::informant("+--"))"
invalid character in array index
in expression "... < (0.0 - $::informant("+--"))"
(parsing expression "$prevscore < (0.0 - $:...")
invoked from within
"expr {$prevscore < (0.0 - $::informant("+--"))}"
(procedure "addAnnotation" line 143)
invoked from within
"addAnnotation"
(procedure "autoplay" line 14)
invoked from within
"autoplay"
("after" script)
The likely cause is the use of Tcl/Tk version 9.0.4 instead of version 8 (the exact same annotation works without issues in Scid 5.1 using Tcl/Tk 8.6).