Re: TStringGrid
- From: erewhon@xxxxxxxxxx (J French)
- Date: Thu, 14 Apr 2005 10:22:42 +0000 (UTC)
On 14 Apr 2005 01:30:21 -0700, alanglloyd@xxxxxxx wrote:
>No - possibly it should be WriteBuffer for both, so that an exception
>is thrown if it fails. I think that code was written in dubious mode
><g>.
I get the point
- silent errors are tricky
- I've just checked and it looks for Zero write bytes before writing
- not a problem nowadays - but lethal under MSDOS
>But once a file (stream) is satisfactorily opened I wonder what the
>base cause would be of any errors which could cause a write failure
>(particularly on a single PC).
Unrecoverable for sure
One thing .. I once got burnt by Write( S[1], Length( S ) )
- when S was zero length
- the upside was it got me to turn on range checking
- permanently
<G>
.
- Follow-Ups:
- Re: TStringGrid
- From: alanglloyd
- Re: TStringGrid
- References:
- TStringGrid
- From: Anthony
- Re: TStringGrid
- From: alanglloyd
- Re: TStringGrid
- From: J French
- Re: TStringGrid
- From: alanglloyd
- TStringGrid
- Prev by Date: Re: TStringGrid
- Next by Date: Select printer
- Previous by thread: Re: TStringGrid
- Next by thread: Re: TStringGrid
- Index(es):
Relevant Pages
|
|