Richard D. Jackson wrote:
Just look at the type declaration (in gpc.pas):
type { `+ 1' is a waste, but it is so the size of the array is not zero for Count = 0 } PPStrings = ^TPStrings; TPStrings (Count: Cardinal) = array [1 .. Count + 1] of PString;
So there's `Count'.
The EP Schemata stuf is new to me so it did not register when I did look at the declaration. But when you pointed it out the light came on and I went this is neat as it can be used to solve many things in a much cleaner way. I wonder why Delphi doesn't support this.
Oh well thanks for the enlightenment :) I guess I should really be asking these types of questions over on the iso news group verses here though.
Depends. They (generally) don't have the GPC type definition, so you'd have to copy it there ...
Frank