Click to See Complete Forum and Search --> : Seperating some vbscript into a seperate file


fark
10-17-2003, 10:58 AM
I'm writing some functions that I use in several different pages. I need to store them in their own file and include them in each asp page to save copy and pasting and so I only have to update the function in one place. Do I use something similar to this to include them?

<CODE>
<!-- #include file="adovbs.inc" -->
or for my use
<!-- #include file="functions.inc" -->
</CODE>

Any other ways to do this??
Thanks

gil davis
10-17-2003, 11:05 AM
<!--#include file="adovbs.inc"-->is correct.

fark
10-17-2003, 11:05 AM
Thank You