RosettaCodeData/Task/Flow-control-structures/Ada/flow-control-structures-5.adb

8 lines
129 B
Ada
Raw Permalink Normal View History

2026-04-30 12:34:36 -04:00
select
delay 10.0;
Put_Line ("Cannot finish this in 10s");
then abort
-- do some lengthy calculation
...
end select;