Could someone explain o me what CString is in the RTS?
It seems it is a pointer, and the docs somewhere describe it as ^Char, and it is generally used as a pointer, but some places it is used as an array, as in Dest[Size] := #0;
Since there seems good support for CString in string.pas, I'm trying to figure out if I can use it in the Mac Interfaces, if it is binary compatible with the Mac's definition of CStringPtr = ^Char;
BTW, I noticed in string.pas
if (s2 = nil) or (s2^ = #0)
I know GPC defaults to always doing short circuit, but would that be better written or_else?
Thanks, Peter.