You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the last thing to be returns in a function is effectively the return value, this can cause problems with longer code snippets that want to break or exit when a condition is met.
I know a workaround would be to wrap everything else in IF's after having set some variable to NULL, that would mean all the other sections could be skipped, but perhaps having an explicit return/exit/break/etc would be a feature making your code smaller and cleaner?
The text was updated successfully, but these errors were encountered:
As the last thing to be returns in a function is effectively the return value, this can cause problems with longer code snippets that want to break or exit when a condition is met.
I know a workaround would be to wrap everything else in IF's after having set some variable to NULL, that would mean all the other sections could be skipped, but perhaps having an explicit return/exit/break/etc would be a feature making your code smaller and cleaner?
The text was updated successfully, but these errors were encountered: