Re: Attempting to read past end of strings
From: Bruce Roberts (ber_at_bounceitattcanada.xnet)
Date: 03/29/04
- Previous message: Bruce Roberts: "Re: Delphi Rox! but..."
- In reply to: John Tserkezis: "Re: Attempting to read past end of strings"
- Next in thread: John Tserkezis: "Re: Attempting to read past end of strings"
- Reply: John Tserkezis: "Re: Attempting to read past end of strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Mar 2004 15:07:15 -0500
"John Tserkezis" <jt@techniciansyndrome.org.invalid> wrote in message
news:4064bd72$0$30592$afc38c87@news.optusnet.com.au...
> But that's the issue here. It *WAS* defined. Under TP, reading past
the
> 'end' of a string returns an empty character. It was an easy way to tell
if
> the index was part of the string (would return the character at index), or
> nothing if was past the end.
This isn't my recollection of TP. My memory is that the sequence
s := '0123456789';
s := 'abcd';
s2 := s [10];
would result in s2 = '9'.
- Previous message: Bruce Roberts: "Re: Delphi Rox! but..."
- In reply to: John Tserkezis: "Re: Attempting to read past end of strings"
- Next in thread: John Tserkezis: "Re: Attempting to read past end of strings"
- Reply: John Tserkezis: "Re: Attempting to read past end of strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|