that should work ok. I go even further than that and split the functions into related groups.
so file, text, SQL, maths, navigation function all have their own include file. constants and variables have seperate includes as well.
This means I can easily find any particular function rather than wading though one file with hundreds of functions in it.
Then I have a include file that is a list of include so if I add a new group or split them up further, there is only one file to edit. option explicit is the first line of this file so it doesn't get missed.
Like so.
I even go as far as having an include that includes the CSS file so I could rename or move (or split into several) the style sheet and I still only edit one file rather than hundreds.
This approach comes from working on an intranet where if it wasn't done an hour ago it was too late.
![[lol] [lol] [lol]](/data/assets/smilies/lol.gif)
and I could say "That will take a couple of hours" knowing it would take 10 mins and earn myself some peace and quiet.
Chris.
Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
Nightclub counting systems
So long, and thanks for all the fish.