If doesn't fit into any other category ....
- Posts: 40
- Joined: Fri Feb 19, 2021 7:46 pm
- Has thanked: 1 time
- Been thanked: 6 times
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?
- Site Admin
- Posts: 413
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 92 times
- Been thanked: 297 times
Both are equivalents, gosub is the mandatory choice for event related routines.