I want imformation about Including file.
I have scripts which I use many times in some asp file, so I want save those scripts in .inc file. But don't know how to call those scrips in .inc file.
Is there any article I should read?
Please advise.
Printable View
I want imformation about Including file.
I have scripts which I use many times in some asp file, so I want save those scripts in .inc file. But don't know how to call those scrips in .inc file.
Is there any article I should read?
Please advise.
I don't know how to do it with inc file, but you can
do it with asp file(it should be the same).
just put this
<!-- #include file="path/name.asp" -->
is an example:
and call your function.Code:<!-- #include file="populateArray.asp" -->
Thanks.
As far as I know, .inc file does same. You can write function in .inc file then put
<!-- #include file="populateArray.inc" -->
in .asp file from which you want to call the function.
My question is, is it should be "function" always? I know how to call function, but just scripts.
I got a feeling that there's no way to do so...
Well, thanks anyway.