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

10 lines
160 B
Plaintext

const proc: main is func
begin
block
foo;
exception
catch RANGE_ERROR:
writeln("catched RANGE_ERROR");
end block;
end func;