fpc/docs/refex/ex104.pp
2000-09-24 08:09:08 +00:00

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.