Fork: Difference between revisions
m
→REXX version 1 using REPLY: remove returned value and let subroutine go on after the program's end
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:
::class fork
:: method sub
Reply
Do
Say 'subroutine' time()
Call syssleep 1
End</lang>
{{out}}
<pre>subroutine
program
subroutine
program
subroutine
program
subroutine 10:53:40
subroutine 10:53:41
subroutine 10:53:42</pre>
===version 2 using START===
|