- Thu Jul 28, 2016 6:44 pm
#51670
Gotcha incorrect use in my case I wonder if it isn't the same for the other user.
So this is actually the correct use:
do some stuff 1
gosub [mysub]
return
[mysub]
do some stuff 2
Now what would the return actually do? I suppose this is something I should have really looked up rather than assuming I understood it correctly.
This is incorrect use of return as it ends the program:
do some stuff 1
gosub [mysub]
wait
[mysub]
do some stuff 2
return
So I thought I would return to the other wait basically more or less.
I suppose this is not the case so what functional purpose does it serve I suppose I should read into this a bit.
Thanks for clarifying sorry for my neglect on this one lol! Either way you can make stuff workable without it it seems just fine.