comp.lang.tcl
[Top] [All Lists]

Snit Problem- Invalid command name

Subject: Snit Problem- Invalid command name
From: Pradeep
Date: Thu, 29 May 2008 23:12:49 -0700 PDT
Newsgroups: comp.lang.tcl

Hi all,
I have installed snit1.0 and copy the same in C:\Program Files.I tried
to run a simple program as below. I have created a snit type dog.
After the ::dog as below how will I return to the %prompt to  execute
it? More ever I am getting a problem
"Invalid comand name snit::type". Could anybody help me in this
regard?

Thanks in advance
Pradeep

% snit::type dog {
snit::type dog {
method speak {} {

return "$self barks"
}
::dog



<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy