Attempting to read past end of strings
From: John Tserkezis (jt_at_techniciansyndrome.org.invalid)
Date: 03/26/04
- Previous message: Martin Strand: "Re: Delphi Rox! but..."
- Next in thread: Jeremy Collins: "Re: Attempting to read past end of strings"
- Reply: Jeremy Collins: "Re: Attempting to read past end of strings"
- Reply: Bruce Roberts: "Re: Attempting to read past end of strings"
- Reply: Rob Kennedy: "Re: Attempting to read past end of strings"
- Reply: Jamie: "Re: Attempting to read past end of strings"
- Reply: Daaave: "Re: Attempting to read past end of strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Mar 2004 23:50:36 +1100
I have a whole bunch of code written for pascal that I had hoped I can use
under delphi.
Something like:
string1 := 'abcd';
string2 := string1[10];
under pascal, string2 = '' under delphi, it crashes.
I've googled, but could only find instances of "don't do that".
Is there an easy way around it, or do I have to rewrite the code? A lot of
the pascal code I'm using uses, and relys on the fact that it returns a null.
I was hoping I wouldn't have to rewrite.
-- Linux Registered User # 302622 <http://counter.li.org>
- Previous message: Martin Strand: "Re: Delphi Rox! but..."
- Next in thread: Jeremy Collins: "Re: Attempting to read past end of strings"
- Reply: Jeremy Collins: "Re: Attempting to read past end of strings"
- Reply: Bruce Roberts: "Re: Attempting to read past end of strings"
- Reply: Rob Kennedy: "Re: Attempting to read past end of strings"
- Reply: Jamie: "Re: Attempting to read past end of strings"
- Reply: Daaave: "Re: Attempting to read past end of strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|