Is there a way to call a function that reside on another asp page, even if i did'nt go on this page!
http://fcx.org/profile/sebs
Nope, what you can do is to create an include file that will have your function. Here is how the include file may look like (assume that this page is called MyInclude.asp): Code: <% Function MyFunction(Paramater) MyFunction = CInt(Parameter) * 5 End Function %> Then in your other page you can do something like this Code: <%@ Language=VBScript %> <!--#include file=MyInclude.asp--> <% Dim intMyValue intMyValue = MyFunction(5) %>
<% Function MyFunction(Paramater) MyFunction = CInt(Parameter) * 5 End Function %>
<%@ Language=VBScript %> <!--#include file=MyInclude.asp--> <% Dim intMyValue intMyValue = MyFunction(5) %>
Forum Rules