fpc/tests/webtbs/tw4308.pp
2005-12-20 08:11:59 +00:00

18 lines
327 B
ObjectPascal

{ Source provided for Free Pascal Bug Report 4308 }
{ Submitted by "Olle" on 2005-08-22 }
{ e-mail: olle.r@automagika.se }
program loop_var_assgn;
procedure ZeroBlock (startAddr: PtrUInt; length: SizeUInt);
var
i: PtrUInt;
begin
for i := startAddr to startAddr + length - 1 do
PByte(i)^ := 0;
end;
begin
end.