06-11-2024, 11:28 AM
(This post was last modified: 06-11-2024, 11:28 AM by SpriggsySpriggs.)
I often declare external functions as both SUBs and FUNCTIONs (QB64 does not care if you have a SUB and a FUNCTION with the same name), depending on whether or not I'll need to keep the return value. Rather than just make a throwaway temp variable for the function, I'll use it as a SUB and get the same functionality. It boils down to preference on some stuff.
Tread on those who tread on you