(12-30-2022, 07:44 PM)James D Jarvis Wrote:(12-30-2022, 07:23 PM)bplus Wrote: Can you have a proper GOSUB without a proper RETURN?
I say no.
That's why I was wondering if the compiler spots it and turns it into a Goto. I had a C/C++ compiler that would do such years ago but I have no idea how to check if QB64 is doing that.
You do start getting complaints when you do try and add a RETURN. It does behave just like a GOTO otherwise so I think the stack stuff must involve a RETURN in the code.
Oh yeah you can probably catch the C++ interpretation in a temp file
b = b + ...