Repository navigation
Clarify now using M2 - #4845
Open
dirkx wants to merge 1 commit into
Open
Clarify now using M2#4845dirkx wants to merge 1 commit into
dirkx wants to merge 1 commit into
Conversation
Contributor
|
Thanks for this. Did you run into something unexpected with M2 in a subroutine that led you here? If so, could you share the program? As far as I can tell the caution itself is out of date. The behaviour it describes (sub file left open, not returning to the main program) was fixed in the interpreter shortly after the caution was written: M2/M30 now unwinds all call levels and goes back to the main program file. That is the case on both master and 2.9. I write M2 in my own subs, under If nothing weird turned up, I would rather drop the caution, or replace it with a line saying M2/M30 in a subroutine ends the program and unwinds all call levels. @andypugh what is your take on this? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Minor tweak to not confuse punters like me.