You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_dtcl@tcl.apache.org by yahalom emet <ya...@zvia.org.il> on 2001/10/28 09:57:04 UTC
set bug
Hello
when I do this :
set orderfldlist [list \
{retrieve "validto asc"}\
{citysort "citycode"}\
{Namesort "dealname"}\
{suppsort "supplier"}\
{pricesort "per_p_in_db"}\
{typesort "dealtype"}\
{nightsort "days"}\
{depfrom "validfrom"}\
{depto "validto"} ]
I get this error:
extra characters after close-brace
while compiling
"set orderfldlist [list \
{retrieve "validto asc""
(in namespace eval "::request" script line 260)
when I change it to:
set orderfldlist [list {retrieve "validto asc"} {citysort "citycode"} {Namesort "dealname"} {suppsort "supplier"} {pricesort "per_p_in_db"} {typesort "dealtype"} {nightsort "days"} {depfrom "validfrom"} {depto "validto"} ]
it works.
the fisrt code works as a tcl cgi script (it is a valid code)
Thanks
Yahalom Emet
Software Developer
Xor Technologies Ltd.
Re: set bug
Posted by yahalom emet <ya...@zvia.org.il>.
Sorry
the file type was dos. now it works fine.
I really like this module. all th ebugs are mine.
Yahalom Emet
Software Developer
Xor Technologies Ltd.
----- Original Message -----
From: "David N. Welton" <da...@dedasys.com>
To: "yahalom emet" <ya...@zvia.org.il>
Cc: <mo...@tcl.apache.org>
Sent: Sunday, October 28, 2001 12:41 PM
Subject: Re: set bug
> "yahalom emet" <ya...@zvia.org.il> writes:
>
> > set orderfldlist [list \
> > {retrieve "validto asc"}\
> > {citysort "citycode"}\
> > {Namesort "dealname"}\
> > {suppsort "supplier"}\
> > {pricesort "per_p_in_db"}\
> > {typesort "dealtype"}\
> > {nightsort "days"}\
> > {depfrom "validfrom"}\
> > {depto "validto"} ]
>
> > I get this error:
>
> > extra characters after close-brace
> > while compiling
> > "set orderfldlist [list \
> > {retrieve "validto asc""
> > (in namespace eval "::request" script line 260)
>
> > the fisrt code works as a tcl cgi script (it is a valid code)
>
> Hrm. Works for me! I would recommend installing 0.11.4, at least.
> For me, it runs fine, both inside a .ttml page as well as a plain .tcl
> file.
>
> --
> David N. Welton
> Consulting: http://www.dedasys.com/
> Free Software: http://people.debian.org/~davidw/
> Apache Tcl: http://tcl.apache.org/
> Personal: http://www.efn.org/~davidw/
Re: set bug
Posted by "David N. Welton" <da...@dedasys.com>.
"yahalom emet" <ya...@zvia.org.il> writes:
> set orderfldlist [list \
> {retrieve "validto asc"}\
> {citysort "citycode"}\
> {Namesort "dealname"}\
> {suppsort "supplier"}\
> {pricesort "per_p_in_db"}\
> {typesort "dealtype"}\
> {nightsort "days"}\
> {depfrom "validfrom"}\
> {depto "validto"} ]
> I get this error:
> extra characters after close-brace
> while compiling
> "set orderfldlist [list \
> {retrieve "validto asc""
> (in namespace eval "::request" script line 260)
> the fisrt code works as a tcl cgi script (it is a valid code)
Hrm. Works for me! I would recommend installing 0.11.4, at least.
For me, it runs fine, both inside a .ttml page as well as a plain .tcl
file.
--
David N. Welton
Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
Apache Tcl: http://tcl.apache.org/
Personal: http://www.efn.org/~davidw/