Re: Interface Question



Marco van de Voort wrote:
With 64-bit coming up, it might be a good habit to start expressing offsets
etc in sizeof(integer) and sizeof(pointer).

Good point. I'd like to keep the concrete values there, but I've added words explaining how I came up with the number 8. (I should have had that anyway, or else it's just a magic number.)

For the "Does the compiler treat any types specially?" article: aren't pchar
(overindexing, conversions) and static array of char (assignment compat
to ansistring?) also "special"?

Yeah, I suppose so. I was considering the topic more with regard to memory management and reference counting. I've phrased the question rather vaguely, though. I'll try to come up with a more specific question, since I don't really want to cover PChar in that article -- maybe in a more comprehensive article explaining the effects of the $X compiler directive.

I'm not sure what you mean by "overindexing."

--
Rob
.