|
-
Nov 14th, 2000, 11:36 PM
#1
Thread Starter
Junior Member
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.
-
Nov 15th, 2000, 09:08 AM
#2
Frenzied Member
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:
Code:
<!-- #include file="populateArray.asp" -->
and call your function.
-
Nov 15th, 2000, 07:05 PM
#3
Thread Starter
Junior Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|