Hi, I have a procedure defined as follows:
procedure Copybytes(var dst: array of Char; src: array of Char; len: integer); If I call it using the following: Copybytes(@dst[dloc],@src[sloc],16); I get an error: dwg.pas(116,36) Error: Incompatible type for arg no. 2: Got "Pointer", expected "Open Array Of Char" Can anyone suggest a solution? Kind Regards, Dave Coventry -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus