FillDWord

Declaration:
Procedure FillDWord (Var X;Count : Longint;Value : DWord);;
Description:
Fillword fills the memory starting at X with Count DWords with value equal to Value. A DWord is 4 bytes in size.
Errors:
No checking on the size of X is done.
See also:
FillByte (497), Fillchar (499), Fillword (501), Move (536)

Listing: refex/ex103.pp


Program Example103;

{ Program to demonstrate the FillByte function. }

Var S : String[10];
    I : Byte;

begin
  For i:=10 downto 0 do
    begin
    { Fill S with i bytes }
    FillChar (S,SizeOf(S),32);
    { Set Length }
    SetLength(S,I);
    Writeln (s,'*');
    end;
end.