<%@ LANGUAGE = VBScript %> <% Option Explicit %> Functions Server Side Functions

The function "PrintOutMsg" prints out a specific message a set number of times.

<% 'Store number of times function printed message. Dim intTimes 'Call function. intTimes = PrintOutMsg("This is a function test!", 4) 'Output the function return value. Response.Write("

The function printed out the message " & intTimes & " times.") %>