RETURNing from GOSUB inside a function does not work correctly
#1✎ 130512Me21AdminSyntax HighlighterReceived for creating the code syntax highlighter on SBSNight PersonI like the quiet night and sleep late.Express YourselfOn the other thread, someone idiot pointed out that RETURN doesn't work as you'd expect in functions that return things:
PRINT EXAMPLE()This gives an uninitialized variable used error at the second RETURN. However, if you give a value that is the same type as the real return value:
PRINT EXAMPLE()Then it will work just as expected.
#2✎ 78bananaRNGHiddenEaster EggsDisguisedHiddenWebsiteExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming Strengthsomeone? you bastard