[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Fill memory region with 32-bit pattern
Source position: systemh.inc line 527
procedure FillDWord( |
var x; |
count: SizeInt; |
value: DWord |
); |
Fillword fills the memory starting at X with Count DWords with value equal to Value. A DWord is 4 bytes in size.
No checking on the size of X is done.
|
Fill memory region with 8-bit pattern |
|
|
Fill memory region with certain character |
|
|
Fill memory region with 16-bit pattern |
|
|
Move data from one location in memory to another |
Program Example104; { Program to demonstrate the FillDWord function. } Const ArraySize = 1000; Var S : Array [1..ArraySize] of DWord; I : longint; begin FillDWord(S,ArraySize,0); For I:=1 to ArraySize do If S[i]<>0 then Writeln('Position ',i,' not zeroed out'); end.
lazarus-ccr.sourceforge.net |