I'm took over an old classic ASP project and as part of migrating the database from Access to SQL I need to handle a few datetime cases at various points within the app. The thought is to include a little library file with my own set of functions to handle these.
There's no "include once" directive and the site has enough funky nested imports where I can't be sure of it not being included more than once if I just put it on each page that I need it.
So, what happens if a function gets declared twice in an ASP/VBScript page? They'd be identical... ex:
Function HandleDate(fld)
xyz
End Function
In a test with a duplicated function within a page, there appears to be no issues, but I'm wondering if there's something I should be aware of, as this certainly doesn't "feel" right.