RosettaCodeData/Task/Flow-control-structures/Ada/flow-control-structures-3.ada
2023-07-01 13:44:08 -04:00

7 lines
129 B
Ada

select
delay 10.0;
Put_Line ("Cannot finish this in 10s");
then abort
-- do some lengthy calculation
...
end select;