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 seperate mine with "Rem *****************'s"
Rem ************************
Rem **** Info goes here ****
Rem ************************
Rem *** Setup **************
Rem *** Loop ***************
Rem *** Subs ***************
Rem *** Functions **********
Remstart **** Notes/ Reference ***
Remend *** End ****************
It may seem a bit noobish (no offense), but it helps me keep organized (somewhat). If only my room was this neat, eh?
Food is güd!
"All programmers are playwrites and all computers are lousy actors" -Anon
Click Here!!!