Invalid command name ""
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Invalid command name ""

From: <jazzdman@gmail.com>
Date: Fri Jul 29 2005 - 22:06:44 CEST

Hi,
    I'm trying to expand the capabilities of the Android testing tool,
http://www.wildopensource.com/activities/larry-projects/android.php.
I'm not familiar with Tcl, but I've been learning along the way. This
if statement :

        if { [ check_for_dbl_click $click_line $click_text ] } {
            set fnd_dbl_clk 1
            [ transform_line $click_line ]
        }

causes Tcl to complain : invalid command name "". Those are empty
quotes. What does this mean? Before I put in the set line, I could
write the test and command on one line and the Tcl parser would be
happy. I've tried rewriting this line a few times to try to remove any
extraneous spaces, but I can't seem to satisfy it. It complains
spefically about the [ transform_line $click_line ] statement. What am
I missing?

Thanks,

Jason Mazzotta
Received on Thu Sep 29 14:27:59 2005