Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,10 +0,0 @@
|
|||
with Ada.Task_Identification; use Ada.Task_Identification;
|
||||
|
||||
procedure Main is
|
||||
-- Create as many task objects as your program needs
|
||||
begin
|
||||
-- whatever logic is required in your Main procedure
|
||||
if some_condition then
|
||||
Abort_Task (Current_Task);
|
||||
end if;
|
||||
end Main;
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
procedure Main is
|
||||
-- Create as many task objects as your program needs
|
||||
begin
|
||||
-- whatever logic is required in your Main procedure
|
||||
if some_condition then
|
||||
-- for each task created by the Main procedure
|
||||
The_task.Stop;
|
||||
-- end the Main procedure
|
||||
return; -- actually, this is not needed
|
||||
end if;
|
||||
end Main;
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
task body Some_Task is
|
||||
begin
|
||||
loop
|
||||
select
|
||||
-- Some alternatives
|
||||
...
|
||||
or accept Stop do
|
||||
-- Some cleanup while holding the caller is here
|
||||
end Stop;
|
||||
-- A cleanup asynchronous to the caller is here
|
||||
exit; -- We are through
|
||||
end select
|
||||
end loop;
|
||||
end Some_Task;
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
task body Some_Task is
|
||||
begin
|
||||
loop
|
||||
select
|
||||
-- Some alternatives
|
||||
...
|
||||
or terminate; -- We are through
|
||||
end select
|
||||
end loop;
|
||||
end Some_Task;
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
If problem Then
|
||||
Exit
|
||||
Endif
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
IF problem
|
||||
STOP RUN
|
||||
END-IF
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
IF problem
|
||||
GOBACK
|
||||
END-IF
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
(when something
|
||||
(kill-emacs))
|
||||
|
|
@ -1,5 +1,3 @@
|
|||
(phixonline)-->
|
||||
<span style="color: #008080;">if</span> <span style="color: #000000;">error_code</span><span style="color: #0000FF;">!=</span><span style="color: #000000;">NO_ERROR</span> <span style="color: #008080;">then</span>
|
||||
<span style="color: #7060A8;">abort</span><span style="color: #0000FF;">(</span><span style="color: #000000;">0</span><span style="color: #0000FF;">)</span>
|
||||
<span style="color: #008080;">end</span> <span style="color: #008080;">if</span>
|
||||
<!--
|
||||
if error_code!=NO_ERROR then
|
||||
abort(0)
|
||||
end if
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
-->
|
||||
<span style="color: #008080;">if</span> <span style="color: #000000;">error_code</span><span style="color: #0000FF;">!=</span><span style="color: #000000;">NO_ERROR</span> <span style="color: #008080;">then</span>
|
||||
<span style="color: #7060A8;">exit_thread</span><span style="color: #0000FF;">(</span><span style="color: #000000;">0</span><span style="color: #0000FF;">)</span>
|
||||
<span style="color: #008080;">end</span> <span style="color: #008080;">if</span>
|
||||
<!--
|
||||
if error_code!=NO_ERROR then
|
||||
exit_thread(0)
|
||||
end if
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
if (somecondition) {
|
||||
exit
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
if error? try [6 / 0] [quit]
|
||||
|
|
@ -1 +0,0 @@
|
|||
if error? try [dangerous-operation] [quit/return -12]
|
||||
|
|
@ -1 +0,0 @@
|
|||
if error? try [something-silly] [q/return -12]
|
||||
|
|
@ -1 +0,0 @@
|
|||
view layout [button "stopme" [halt]]
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
dim i, j
|
||||
j = 0
|
||||
do
|
||||
for i = 1 to 100
|
||||
while j < i
|
||||
if i = 3 then
|
||||
wscript.quit
|
||||
end if
|
||||
wend
|
||||
next
|
||||
loop
|
||||
Loading…
Add table
Add a link
Reference in a new issue