function or gosub

Blitz3D Forums/Blitz3D Beginners Area/function or gosub

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Gosub is SO 80's... :) Function is what "true" programming languages use... also you can pass/get info with functions. Gosub is just dummy GoSub.


Description:

A function is a routine of commands you may choose to call frequently within your program. Functions are considered 'proper' practice in this situation, instead of using GOSUB commands.



http://www.blitzbasic.co.nz/b3ddocs/command.php?name=Function&ref=2d_cat