Title: Message
But that's an array of records. That is different from a string, which is dynamic. A string is always a pointer to the memory that actually holds the string, and that pointer changes were it points if you change the contents of the string (because the string gets reallocated). A record is by comparison static. I believe an array of records is actually an array of the record memory, rather than an array of pointers to the records.
 
David.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Ross Levis
Sent: Thursday, 3 June 2004 5:51 PM
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] "IN" an array?

Hi Myles
 
That's not what I was told a few days ago.  I had an array of records which I wanted to sort by re-arranging the pointers in each array element, but this didn't seem to work.
 
Ross.
----- Original Message -----
Sent: Thursday, June 03, 2004 5:29 PM
Subject: RE: [DUG] "IN" an array?

No. Since an array of strings is actually an array of pointers to the actual strings.
M
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to