Apache::ASP Powered by ModPerl & Apache Powered by Apache::ASP
Demo ASP: source.asp 2024-11-21

Source of file counting.htm:

<!--#include file=header.inc-->
<% if($Request->QueryString('transfer')) { %>
  <font color=red>We just transferred from transfer.htm !!</font>
  <p>
<% } %>

 For loop decrementing font size:

 <table cellpadding=3 border=0>
 <% for my $num (reverse(1..6)) { %> 
   <tr>
     <% for my $base (1..3) { %>
       <td><font size=<%= $num %>><%= (10 ** $base) * $num %></font></td>
     <% } %>
     <td><font size=<%= $num %>>Size = <%= $num %></font></td>
   </tr>
 <% } %>
 </table>

<!--#include file=footer.inc-->

view this file's source