Abridged summary of comp.lang.tcl@googlegroups.com - 8 updates in 4 topics

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Abridged summary of comp.lang.tcl@googlegroups.com - 8 updates in 4 topics

comp.lang.tcl mailing list
Roger Oberholtzer <[hidden email]>: Jun 30 01:16AM -0700

If one does the following:
 
proc x {} {
 
set f [open "zz" rb]
try {
 
return [binary encode base64 [read $f]]
 
} finally {
 
close $f
}
}
 
The initial clause completes ...more
Rich <[hidden email]>: Jun 30 10:22AM

> close in the context of the proc? 'f' is a local variable.
 
> I think it does in fact close f. But it seems odd to be able to
> access a variable local to x after a return from x.
...more
"Donal K. Fellows" <[hidden email]>: Jun 30 11:33AM +0100

On 30/06/2016 09:16, Roger Oberholtzer wrote:
> Will the finally {} still be able to execute the close in the context of the proc?
 
Yes. It traps the [return]'s special exception, runs the finally ...more
Roger Oberholtzer <[hidden email]>: Jun 30 03:36AM -0700

On Thursday, June 30, 2016 at 12:22:46 PM UTC+2, Rich wrote:
 
> exceptional result), runs a handler script to deal with the case._
 
> So when inside the try, the [return] is not returning from x, ...more
EL <[hidden email]>: Jun 30 07:02PM +0200

Am 30.06.16 um 10:16 schrieb Roger Oberholtzer:
 
> But it seems odd to be able to access a variable local to x after a return from x.
 
That is the exact purpose of a finally clause. ...more
Christian Gollwitzer <[hidden email]>: Jun 30 04:55PM +0200

Am 21.12.15 um 23:27 schrieb Alexandre Ferrieux:
 
>>> Sorry if I'm being dense, but I fail to grok this sentence. At the
>>> same time, it sounds interesting. Care to rephrase/elaborate ?
...more
Andreas Kupries <[hidden email]>: Jun 30 12:45AM -0700


> I have been using tcom 3.9 that comes with ActiveTcl 8.5 on Windows. Now I want to try tcom 3.10 from http://www.vex.net/~cthuang/tcom/
 
> How do I installed tcom 3.10? I have tried ...more
Andreas Kupries <[hidden email]>: Jun 30 12:36AM -0700

Cribbing from myself at
http://core.tcl.tk/akupries/blog/ann-cmdr-12.html
 
Well, this release was long in coming, with the first 'prep' work
happening on Nov 4 last year, shortly after the ...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].