Hi, Alexander.

I started using Scid 3.7.1 (up from 3.7 beta 4) under Windows XP
yesterday and began getting an error when I tried to use the Play ->
Correspondence Chess -> Send Move menu item or button in an email chess
game. I found that the Play -> Correspondence Chess -> Mail Move menu
item worked okay. Here's the error information from the dialog box I saw:

    can't read "num": no such variable
    can't read "num": no such variable
        while executing
    ".ccWindow.bottom.id tag add hlsent$CmailGameName $num.0 [expr
    {$num+1}].0 "
        (procedure "::CorrespondenceChess::SendMove" line 45)
        invoked from within
    "::CorrespondenceChess::SendMove 0 0 0 0"
        invoked from within
    ".ccWindow.top.sendCC invoke"
        ("uplevel" body line 1)
        invoked from within
    "uplevel #0 [list $w invoke]"
        (procedure "tk::ButtonUp" line 24)
        invoked from within
    "tk::ButtonUp .ccWindow.top.sendCC"
        (command bound to event)

I added the following line to the SendMove proc after the line beginning
"set Event...":

                set num       [sc_game number]

which seems to have resolved the problem. Please consider adding this to
a future maintenance update after an appropriate amount of testing.
-- 

Regards,

Larry

Newark, Delaware USA  •  E-mail: [email protected]
<mailto:[email protected]>


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to