View Single Post
  #4 (permalink)  
Old September 2nd, 2011, 04:11 PM
rotter rotter is offline
Registered User
Points: 34, Level: 1
Points: 34, Level: 1 Points: 34, Level: 1 Points: 34, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2011
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
Default

So the function of return is to a) return control to the caller b) start a new thread of execution in which the remaining code is executed?

Alternatively, return is setting the value to be returned when the time comes, which is when the code in the procedure is exhausted?

Just a new boy making wild guesses.
Reply With Quote