Re:Go 2 Draft Designs
by bloomer on Wednesday August 29, 2018 @10:22AM
(#17868392)
A handle block has access to all variables that are in scope. So if you have partial results that you want to return is a check fails you can return them in the handle block if they are already declared/assigned. The easier way to handle this is using named return variables which are always in scope. If no partial results have been assigned then they will be returned as zero values otherwise the partial results can be set.
[ Parent
| on HN ]
There are no comments on this comment yet.