Re: Interface Question
- From: Rob Kennedy <me3@xxxxxxxxxxx>
- Date: Wed, 11 Oct 2006 11:53:55 -0500
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
.
- Follow-Ups:
- Re: Interface Question
- From: Marco van de Voort
- Re: Interface Question
- References:
- Interface Question
- From: alanglloyd@xxxxxxx
- Re: Interface Question
- From: Rob Kennedy
- Re: Interface Question
- From: Marco van de Voort
- Interface Question
- Prev by Date: Re: a problem in my program in pascal
- Next by Date: Re: Disabling an application during a file save?
- Previous by thread: Re: Interface Question
- Next by thread: Re: Interface Question
- Index(es):