[tcljava-dev] TJC compile error
by Tom Poindexter other posts by this author
Mar 7 2006 9:10AM messages near this date
Re: [tcljava-dev] Re: tcljava-dev digest, Vol 1 #169 - 2 msgs
|
Re: [tcljava-dev] TJC compile error
While working a fix for the 'make tjc2' error, I borrowed some
wiki code to generate temp files, encounter this TJC error:
$ jaclsh
% proc randazAZchar {} {
return [format %c [expr {int(rand() * 26) + [expr {int(rand() * 10) > 5 ? 97 : 65}]}]]
}
% randazAZchar
i
% randazAZchar
u
% package require TJC
1.0
% TJC::compile randazAZchar
% Interal error while compiling proc "randazAZchar" in file RandazAZcharCmd
unknown type "operator" in {operator {
return [format %c [expr {int(rand() * 26) + [expr {int(rand() * 10) > 5 ? 97 : 65}]}]]
} {operator {34 4} {}} 0 rand {{34 4}}} at index 1
while executing
"error "unknown type \"$operand_cmdlist_elem_type\" in \{$operand_cmdlist_elem\} at index $j
""
("if" else script line 2)
invoked from within
"if {$operand_cmdlist_elem_type == "subexpr"} {
....etc....
--
Tom Poindexter
tpoindex@[...].net
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
tcljava-dev mailing list
tcljava-dev@[...].net
https://lists.sourceforge.net/lists/listinfo/tcljava-dev
Thread:
Tom Poindexter
Mo DeJong
|