RosettaCodeData/Task/Exceptions/Seed7/exceptions-2.seed7

10 lines
160 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
const proc: main is func
begin
block
foo;
exception
catch RANGE_ERROR:
writeln("catched RANGE_ERROR");
end block;
end func;