Dr. Ferenc Nagy ([log in to unmask]) wrote:
: Can I call generally the TurboImage and other system intrinsics with
: string[...] type parameters from Pascal?
: It might be true if the compiler passes the address of the first string
: element to the intrinsic instead of the address of the string length.
This is what the compiler is meant to do. See the PG, page 10-6 under
"Strings as actual Parameters".
The length won't be updated. Not unless you declare it as external C
and it is null terminated by the caller.