mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 16:49:20 +02:00
+ Added line to show that type of return value is same as argument
This commit is contained in:
parent
edd14ed266
commit
99789617ae
@ -34,5 +34,7 @@ begin
|
|||||||
For I:=Low(C) to High(C) do
|
For I:=Low(C) to High(C) do
|
||||||
C[i]:=I;
|
C[i]:=I;
|
||||||
Writeln ('Average :',Average(c));
|
Writeln ('Average :',Average(c));
|
||||||
|
Write ('Type of return value is always same as type of argument:');
|
||||||
|
Writeln(high(high(word)));
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user