help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

FillDWord

Fill memory region with 32-bit pattern

Declaration

Source position: systemh.inc line 417

procedure FillDWord(

  var x;

  count: SizeInt;

  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

  

Fill memory region with 8-bit pattern

Fillchar

  

Fill memory region with certain character

Fillword

  

Fill memory region with 16-bit pattern

Move

  

Move data from one location in memory to another

Example

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.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505