I use alot of both...
Gosubs are better for long code that uses many variables, or does something like load objects, settings, etc.
Functions, on the other hand, are better for shorter code that will be called many times and uses few variables.
So, In my opinion, a little of each is best. Just be sure to keep your functions at the
BOTTOM of your code, or any code underneath it will not be run.
I wish functions and subroutines in DBPro were on seperate pages like in QBASIC. Then it would be really organized.
"Food is güd!" -Dean
"All programmers are playwrites and all computers are lousy actors" -Anon
Click Here!!!