The contents of an array:
Array:0 Hi 1 There 2 ! 3
The contents of another array from "getFilesFromFolder()":
Array:0 count.gif 1 default.asp 2 folder.gif
Contents of default.asp :
<!--#include file ="../../jakes_IO.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="da">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Example use of the ArrayToTable function</title>
<link rel="stylesheet" type="text/css" href="/jake.css">
</head>
<body>
<div align="center"><h1>Using PrintArray()</h1></div>
<br>
<p><b>The contents of an array:</b><br>
<span style="display:block;border:1px solid black;background:#DFE;padding:10px;font-size:11px;">
<%
dim a(3)
a(0) = "Hi"
a(1) = "There"
a(2) = "Mate"
a(2) = "!"
response.write ("Array:<br>" & arrayToTable(a))
%>
</span>
<p><b>The contents of another array from "getFilesFromFolder()":</b><br>
<span style="display:block;border:1px solid black;background:#DFE;padding:10px;font-size:11px;">
<%
response.write ("Array:<br>" & arrayToTable(getFilesFromFolder(".")))
%>
</span>
<p><b>Contents of default.asp :</b><br>
<span style="display:block;border:1px solid black;background:#FDE;padding:10px;font-size:11px;">
<% response.write(stringToHTML (GetFileContents("default.asp")))%>
</span>
</body>
</html>