Re: String Reverse
From: Solerman Kaplon (solerman_at_wonder.com.br)
Date: 08/13/04
- Next message: John O'Harrow: "Re: String Reverse"
- Previous message: Wolfgang Ehrhardt: "Re: Fastcode AES B&V 0.6 (long)"
- In reply to: John O'Harrow: "Re: String Reverse"
- Next in thread: John O'Harrow: "Re: String Reverse"
- Reply: John O'Harrow: "Re: String Reverse"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 13 Aug 2004 12:03:03 -0300
Hi,
John O'Harrow wrote:
> Since Ansistrings can contain null characters within the string, the test
> "while PSrc^ <> #0" cannot be used. You must use the actual string length.
What happens if you cast such a string to a PChar? What delphi does with
the #0 that supposedly should have terminatted the string? Just curious,
I've seen some of the fastcode functions using the integer prior to the
string beggining to determine the string length (when the string isn't
''). Thanks for reading
Solerman
- Next message: John O'Harrow: "Re: String Reverse"
- Previous message: Wolfgang Ehrhardt: "Re: Fastcode AES B&V 0.6 (long)"
- In reply to: John O'Harrow: "Re: String Reverse"
- Next in thread: John O'Harrow: "Re: String Reverse"
- Reply: John O'Harrow: "Re: String Reverse"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|