Fork: Difference between revisions
Content added Content deleted
Walterpachl (talk | contribs) (→{{header|ooRexx}}: add version 2 using the START method) |
Walterpachl (talk | contribs) m (→REXX version 1 using REPLY: remove returned value and let subroutine go on after the program's end) |
||
Line 683: | Line 683: | ||
::class fork |
::class fork |
||
:: method sub |
:: method sub |
||
Reply |
Reply |
||
Do |
Do 6 |
||
Say 'subroutine' time() |
Say 'subroutine' time() |
||
Call syssleep 1 |
Call syssleep 1 |
||
End</lang> |
End</lang> |
||
{{out}} |
{{out}} |
||
<pre>subroutine |
<pre>subroutine 10:53:27 |
||
program |
program 10:53:28 |
||
subroutine |
subroutine 10:53:29 |
||
program |
program 10:53:35 |
||
subroutine |
subroutine 10:53:38 |
||
program |
program 10:53:40 |
||
subroutine 10:53:40 |
|||
subroutine 10:53:41 |
|||
subroutine 10:53:42</pre> |
|||
===version 2 using START=== |
===version 2 using START=== |