[Tcl Java] tcl question

1999-09-03 Thread Thomas McKay
The following does not parse in 1.1a1 proc foo {a b}{ return } "extra character after curly brace" (or some such message). It was due to there being no space between the "}{". Is this a Tcl limitation? begin:vcard n:McKay;Thomas tel;work:919-854-7500 x103 x-mozilla-html:TRUE org:Microco

[Tcl Java] interrupting an infinite loop

1999-09-03 Thread Thomas McKay
Ahhh users... what can you do? A not-so-uncommon programming error is to write a for loop that loops forever. Is there any mechanism to force the interpreter to stop evaluating? Can I force an error to be thrown some how? I'm using 1.1a1 but am working on upgrading the latest-greatest. Thanks

[Tcl Java] Re: tcl question

1999-09-03 Thread Christopher Hylands
Yep, this is the standard behaviour of Tcl 8.0 and earlier. cxh@maury 4% cat /tmp/t.tcl proc foo {a b}{ return } cxh@maury 5% tclsh % set tcl_version 8.0 % source /tmp/t.tcl extra characters after close-brace % -Christopher This is a multi-part message in MIME format. -

[Tcl Java] Re: tcl question

1999-09-03 Thread Moses DeJong
On Fri, 3 Sep 1999, Thomas McKay wrote: That does not work in Tclsh8.0 either. The problem is that the parser needs to see a space after the } (meaning }{ is not valid). later mo > The following does not parse in 1.1a1 > > proc foo {a b}{ >return > } > > "extra character after curly brace