View Single Post
  #14 (permalink)  
Old 07-09-2009, 04:01 PM
am
Guest
 
Posts: n/a
Default Re: tcl file handles on Linux and Windows - advice requested

Roger O wrote:

> On Jul 8, 6:08*pm, Robert Heller <hel...@deepsoft.com> wrote:
>...
> involve 50 kilometers of images (continuous, with 1.6mm per pixel
> resolution). ... individual JPEG2000 images ... are chunked into images of

a
> couple of meters in length, which are analyzed, ...


Wow!
-------------
While there is very good advice given in this thread, there is one more
thing you could look into:

Make sure your filehandle does not start with an "e":
Your
> set FileDesc [string trimleft $FileHandle file]

makes an filee12abcdef into 12abcdef
It is much better to use
set FileDesc [string range $FileHandle 4 end]

man n string
--
Mit freundlichen Grüßen (best regards)

Albrecht Mucha
Software Entwicklung
----------------------------------------------------------------------
MediTec GmbH
IT-Lösungen für das Gesundheitswesen
Griesbergstr. 1b-c eMail : [string map {X {}}
a.Xmucha@Xmeditec-gmbh.com]
31162 Bad Salzdetfurth Internet : www.meditec-gmbh.com
Reply With Quote