mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-26 13:58:17 +02:00
18 lines
295 B
ObjectPascal
18 lines
295 B
ObjectPascal
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.
|