Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -2,7 +2,9 @@ Outer:
|
|||
loop
|
||||
-- do something
|
||||
loop
|
||||
if Finished then
|
||||
exit Outer; -- exits both the inner and outer loops
|
||||
end if;
|
||||
-- do something else
|
||||
exit Outer; -- exits both the inner and outer loops
|
||||
end loop;
|
||||
end loop Outer;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
select
|
||||
delay 10.0;
|
||||
Put_Line ("Cannot finish this in 10s");
|
||||
then abort
|
||||
-- do some lengthy calculation
|
||||
...
|
||||
end select;
|
||||
Outer:
|
||||
loop
|
||||
-- do something
|
||||
loop
|
||||
exit Outer when Finished;
|
||||
-- do something else
|
||||
end loop;
|
||||
end loop Outer;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
procedure Foo is
|
||||
begin
|
||||
-- do something
|
||||
if Nothing_More_To_Do then
|
||||
return;
|
||||
end if;
|
||||
-- do more
|
||||
end Foo;
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
select
|
||||
delay 10.0;
|
||||
Put_Line ("Cannot finish this in 10s");
|
||||
then abort
|
||||
-- do some lengthy calculation
|
||||
...
|
||||
end select;
|
||||
Loading…
Add table
Add a link
Reference in a new issue