%@ LANGUAGE = VBScript %> <% Option Explicit %>
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.") %>