Re: Weird Error Msg
- From: Bryan Oakley <oakley@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 05 Feb 2007 17:34:51 GMT
SuNnY wrote:
Hi all !!
I am working on file and string searching. while executing my code , i
am getting this strange error msg. i tried everything but cudnt crack
what tclsh is trying to tell me ...
here is the complete error msg:
list element in quotes followed by "." instead of space
while executing
"foreach Str $TestStr {
"List element in quotes followed by <some character>" means the variable doesn't contain a valid list (by virtue of it having a non-whitespace character immediately after a quoting character).
My guess is, you're taking a random string from a file or from user input and are trying to use it as a Tcl list, which you should not be doing.
--
Bryan Oakley
www.tclscripting.com
.
- Follow-Ups:
- Re: Weird Error Msg
- From: SuNnY
- Re: Weird Error Msg
- References:
- Weird Error Msg
- From: SuNnY
- Weird Error Msg
- Prev by Date: Re: Weird Error Msg
- Next by Date: Re: return -code return
- Previous by thread: Re: Weird Error Msg
- Next by thread: Re: Weird Error Msg
- Index(es):
Relevant Pages
|