<% @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 x ' Call Function x = PrintOutMsg("This is a function test!", 4) ' Output the function return value Response.Write("

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