On 11/29/06, Andrew Brunner <[EMAIL PROTECTED]> wrote:
I am looking for a way to zero a block of memory I allocated.  I don't
really want to use FillChar with #0.

Create your own function to do it and use it.

procedure ZeroMemory(mem: Pointer; size: Cardinal); // or other types,
didn“t really check
begin
 FillChar(mem, size, #0);
end;

--
Felipe Monteiro de Carvalho

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to