Pastable version of Return from function within a function