ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcljava-dev
tcljava-dev
Re: [tcljava-dev] TJC compile error
by Mo DeJong other posts by this author
Mar 8 2006 2:19PM messages near this date
[tcljava-dev] TJC compile error | [tcljava-dev] Performance results for new TJC compiler
On Tue, 7 Mar 2006 10:09:46 -0700
Tom Poindexter <tpoindex@[...].net>  wrote:

>  $ jaclsh
>  % proc randazAZchar {} {
>      return [format %c [expr {int(rand() * 26) + [expr {int(rand() * 10) > 5 ? 97 : 65}]}]]
>  }

>  % 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}]}]]
>  }

Ugh. That is a nasty one. It can be reproduced with just [expr {rand() * 1}]. This issue
has now been fixed and the patch has been checked into the CVS.

Mo DeJong


-------------------------------------------------------
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved