This is the small piece of code.
I am beginner, kindly tell me where is the problem
It is the code to add series of numbers from 'strt' variable to 'stp' variable.
<%@language=vbscript%>
<%option explicit%>
<html>
<body>
<%
dim strt,stp,sum
function series(strt,stp)
dim i,sum
sum=0
for i=strt to stp
sum=sum+i
next
end function
sum=series(1,10)
Response.Write(sum)
%>
</body>
</html>