According to The African Chief:
Great! Now one last thing about pChars - can you make them type-compatible with zero-based arrays of Char? This is the case with BP - so that any function/procedure that takes a pChar as a parameter will accept a zero-based array of Char as well - thanks!
Thanks for the example programs! They make it easier to implement.
I must admit that I do not really like this CString/PChar stuff: All this is C, not Pascal, and I am implementing it for compatibility's sake only - both with Borland compilers and with C libraries which exist on many platforms and are important to support. However, this will only work in GPC together with the (*X+*) directive.
Greetings,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201] maintainer GNU Pascal [970510] - http://home.pages.de/~gnu-pascal/ [970125]