Sub vs gosub

If doesn't fit into any other category ....
Post Reply
Stuart
Posts: 40
Joined: Fri Feb 19, 2021 7:46 pm
Has thanked: 1 time
Been thanked: 6 times

Sub vs gosub

Post 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?
cicciocb
Site Admin
Posts: 401
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 90 times
Been thanked: 289 times
Contact:

Re: Sub vs gosub

Post by cicciocb »

Both are equivalents, gosub is the mandatory choice for event related routines.
Post Reply