3. Programming Frames : How You Can Invoke Frames : Differences Among the Frame-invoking Statements : How Returning to a Closed Parent Works
 
Share this page                  
How Returning to a Closed Parent Works
You cannot return to the calling frame (the frame that issued the gotoframe statement). However, you can use the return statement to return to the parent of the calling frame. You can specify an expression in the return statement if the data type of the parent frame's return type matches that of the child.