Fork: Difference between revisions

m
→‎REXX version 1 using REPLY: remove returned value and let subroutine go on after the program's end
(→‎{{header|ooRexx}}: add version 2 using the START method)
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 earlyresult
Do 36
Say 'subroutine' time()
Call syssleep 1
End</lang>
{{out}}
<pre>subroutine 1110:1653:1127
program 1110:1653:1228
subroutine 1110:1653:1229
program 1110:1653:1335
subroutine 1110:1653:1338
program 1110:1653:15</pre>40
subroutine 10:53:40
subroutine 10:53:41
subroutine 10:53:42</pre>
 
===version 2 using START===
2,295

edits