Call Function vs GoSub - Forum

Forum Navigation
You need to log in to create posts and topics.

Call Function vs GoSub

Out of curiosity, if i had lots of script to read by a button, which would be faster, Call Function or GoSub? Or is it the same?

There is probably no difference at all regarding speed.
Functions are just enhanced subroutines as they can get parameters.
Regards.

Plus, functions can use VBScript or JScript language that gives you more possibilities and simplify your scripts in some cases.

luishp has reacted to this post.
luishp