Possible Duplicate:
Cannot use parentheses when calling a Sub
As far as I am aware this is correct but i get the error "Cannot use parentheses when calling a Sub"
Never used ASP before...can anyone shed light o nthe issue for me? code:
<%TESTWeb1.RecentlyViewedDisplay("Recently Viewed Header","Recently Viewed Entry","Recently Viewed Group Entry")%>
In VB6 type languages you only need parentheses when calling a function, or when calling a sub using the Call
keyword.
e.g.
DoSoemthing "foo","baa"
Call DoSomething("foo","baa")
myVar = DoSomething("foo","bar")
I think in your case taking the parentheses out of the call should work (although I can't check as I don't have an ASP configured environment handy.