Page 1 of 1

Sub vs gosub

Posted: Tue Oct 26, 2021 9:12 pm
by Stuart
It seems that sub is a much better option in principal (call by reference parameters etc.) than gosub. But what is the cost? Is there a time when gosub is best?

Re: Sub vs gosub

Posted: Wed Oct 27, 2021 8:51 am
by cicciocb
Both are equivalents, gosub is the mandatory choice for event related routines.