This repository has been archived on 2024-12-25. You can view files and clone it, but cannot push or open issues or pull requests.
2023-06-20 21:52:24 +03:00

17 lines
334 B
ObjectPascal
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Создание процедуры MyWriteln с переменным числом параметров
procedure MyWriteln(params args: array of object);
begin
foreach var x in args do
Write(x);
WriteLn;
end;
var
a: integer := 777;
b: boolean := True;
r: real := 3.1415;
begin
MyWriteln(a,' ',b,' ',r);
end.