syntax error unexpected end of file in TCL

December 31, 2010 at 06:37:31
Specs: Windows XP
Hi,

I am new to TCL, I am running one simple TCL program
set VAL 1
if {$VAL < 7} {
puts "..."; exit 1 }

It is giving an error
"unexpected end of file"

Can any body help me..


See More: syntax error unexpected end of file in TCL

Report •

#1
December 31, 2010 at 15:23:48
Are you sure that there is a space between the closing and opening braces at the end of line 2? Lack of space here can throw the interpreter.

Report •
Related Solutions


Ask Question