afe3fdfd77
git-svn-id: http://code.remobjects.com/svn/pascalscript@1 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
23 lines
314 B
Plaintext
23 lines
314 B
Plaintext
Program IFSTest;
|
|
type
|
|
TArrayOfByte = array of byte;
|
|
|
|
procedure Test(x: TARrayOfByte);
|
|
var
|
|
i: Integer;
|
|
begin
|
|
for i := 0 to Getarraylength(X) -1 do
|
|
begin
|
|
writeln(inttostr(x[i]));
|
|
end;
|
|
end;
|
|
var
|
|
temp: TArrayOfByte;
|
|
|
|
Begin
|
|
setarraylength(temp, 2);
|
|
temp[0] := 1;
|
|
temp[1] :=23;
|
|
test(temp);
|
|
End.
|