pascalabcnet/TestSuite/CompilationSamples/Data.pas
Бондарев Иван f3299e0667 bug fix #739
2018-04-17 21:48:29 +02:00

18 lines
471 B
ObjectPascal
Raw Permalink 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.

unit Data;
//обязательно params
procedure p2(params o: array of Exception) := exit;//не обязательно короткая процедура
procedure p1 :=//не обязательно короткая процедура
try
if true then
p2(nil);
except
//обязательно on do и использование переменной исключения в процедуре с params
on e: Exception do
p2(e);
end;
end.