Low cost ecommerce web development India flash website design
Subroutines
Subroutines are defined via the Sub keyword.
<%
Sub SayHello
Response.Write “Hello !”
End Sub
%>
A subroutine may accept parameters too, which can be of any type.
<%
Sub SayHelloTo (Person)
Response.Write “Hello, ” & Person & “!”
End Sub
%>
Parameters do not have defined types; their usage determines the type. All
parameter types are variants by default.
Subroutines cannot return a value; that is, they can only be called, their value
cannot be used. To return values to calling programs, we use Functions.
Freelance web designer ASP PHP ecommerce web development India