- Jul
- 576
- 10
Why the heck would this fail to return from a gosub? That makes no sense.
And it only happens in one of my sessions, not the others.
How can a session be broken such that return from a subroutine simply exits the bat?
Seems like a bug, or some obscure feature I can’t possibly fathom the purpose of, or some sort of weird console attack (that i somehow accidentally did?) that should be mitigated so this doesn’t happen.
And it only happens in one of my sessions, not the others.
How can a session be broken such that return from a subroutine simply exits the bat?
Seems like a bug, or some obscure feature I can’t possibly fathom the purpose of, or some sort of weird console attack (that i somehow accidentally did?) that should be mitigated so this doesn’t happen.
Code:
goto :skip
:refresh_current_lyric_provider_metadatas [opt]
iff "%CURRENT_LYRIC_PROVIDER%" == "GENIUS" then
*set CURRENT_LYRIC_PROVIDER=GENIUS
*set CURRENT_LYRIC_PROVIDER_DISPLAY=Genius
*set OTHER_LYRIC_PROVIDER=SYNCEDLYRICS
*set OTHER_LYRIC_PROVIDER_DISPLAY=SyncedLyrics
else
*set CURRENT_LYRIC_PROVIDER=SYNCEDLYRICS
*set CURRENT_LYRIC_PROVIDER_DISPLAY=SyncedLyrics
*set OTHER_LYRIC_PROVIDER=GENIUS
*set OTHER_LYRIC_PROVIDER_DISPLAY=Genius
endiff
return
:skip
*echo "about to gosub.... why is this not coming back?"
*pause
gosub refresh_current_lyric_provider_metadatas
*echo "why is this echo statement never displaying?"