diff --git a/aspclassiccompiler/AspWebApp/BuiltinConstants.asp b/aspclassiccompiler/AspWebApp/BuiltinConstants.asp deleted file mode 100644 index 23b20aa..0000000 --- a/aspclassiccompiler/AspWebApp/BuiltinConstants.asp +++ /dev/null @@ -1,13 +0,0 @@ - - - - - <%=vbSunday %>
- <%=vbMonday %>
- <%=vbTuesday %>
- <%=vbWednesday %>
- <%=vbThursday %>
- <%=vbFriday %>
- <%=vbSaturday %>
- - \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/Default.aspx b/aspclassiccompiler/AspWebApp/Default.aspx deleted file mode 100644 index 49ab4ed..0000000 --- a/aspclassiccompiler/AspWebApp/Default.aspx +++ /dev/null @@ -1,16 +0,0 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AspWebApp._Default" %> - - - - - - - - -
-
- -
-
- - diff --git a/aspclassiccompiler/AspWebApp/Default.aspx.cs b/aspclassiccompiler/AspWebApp/Default.aspx.cs deleted file mode 100644 index 4398be8..0000000 --- a/aspclassiccompiler/AspWebApp/Default.aspx.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace AspWebApp -{ - public partial class _Default : System.Web.UI.Page - { - protected void Page_Load(object sender, EventArgs e) - { - - } - } -} diff --git a/aspclassiccompiler/AspWebApp/Default.aspx.designer.cs b/aspclassiccompiler/AspWebApp/Default.aspx.designer.cs deleted file mode 100644 index 089c4a4..0000000 --- a/aspclassiccompiler/AspWebApp/Default.aspx.designer.cs +++ /dev/null @@ -1,27 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace AspWebApp -{ - - - public partial class _Default - { - - /// - /// form1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.HtmlControls.HtmlForm form1; - } -} diff --git a/aspclassiccompiler/AspWebApp/byref.asp b/aspclassiccompiler/AspWebApp/byref.asp deleted file mode 100644 index 87c0395..0000000 --- a/aspclassiccompiler/AspWebApp/byref.asp +++ /dev/null @@ -1,15 +0,0 @@ -<% - sub main() - dim a - a = 2 - mysub a - response.Write a - end sub - - sub mysub(a) - a = a + 1 - response.Write a - end sub - - main -%> \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/byref2.asp b/aspclassiccompiler/AspWebApp/byref2.asp deleted file mode 100644 index 0b3273b..0000000 --- a/aspclassiccompiler/AspWebApp/byref2.asp +++ /dev/null @@ -1,8 +0,0 @@ -<% - sub mysub(byval a) - a = a + 1 - response.Write a - end sub - - mysub 5 -%> \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/call.asp b/aspclassiccompiler/AspWebApp/call.asp deleted file mode 100644 index 5f4c118..0000000 --- a/aspclassiccompiler/AspWebApp/call.asp +++ /dev/null @@ -1,12 +0,0 @@ - - - - -<% - Response.Write("Something") - Response.Write(1) - Response.Write " MORE" - Call Response.Write(" CALL ") -%> - - \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/datatypes.asp b/aspclassiccompiler/AspWebApp/datatypes.asp deleted file mode 100644 index c28ee54..0000000 --- a/aspclassiccompiler/AspWebApp/datatypes.asp +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Vartype of 123456 is <%=VarType(123456) %>
- Vartype of .23456 is <%=VarType(.23456) %>
- VarType of <%=Server.HtmlEncode("&hFFFFFF")%> is <%=VarType(&hFFFFFF) %>
- VarType of 1.23e-3 is <%=VarType(1.23e-3)%>
- VarType of #12/21/1999# is <%=VarType(#12/21/1999#)%>
- - \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/datetest.asp b/aspclassiccompiler/AspWebApp/datetest.asp deleted file mode 100644 index 3af4e52..0000000 --- a/aspclassiccompiler/AspWebApp/datetest.asp +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - -<%= WeekdayName(Weekday(DateSerial(1963, 11, 22))) %> -<%= WeekdayName(Weekday(DateSerial(1963, 10, 15))) %> -<%= WeekdayName(Weekday(DateSerial(1995, 6, 2))) %> -<%= WeekdayName(Weekday(DateSerial(1997, 5, 5))) %> -<% -setlocale(4100) -for i = 1 to 7 - Response.Write(weekdayname(i) & "
") -next - %> - <% - for i = 1 to 12 - Response.Write(monthname(i) & "
") -next - %> - <%=FormatDateTime(DateSerial(1997, 5, 5), 1) %> -<%=FormatCurrentcy(10000000) %> - - diff --git a/aspclassiccompiler/AspWebApp/filter.asp b/aspclassiccompiler/AspWebApp/filter.asp deleted file mode 100644 index bf7599f..0000000 --- a/aspclassiccompiler/AspWebApp/filter.asp +++ /dev/null @@ -1,18 +0,0 @@ - - - - -<% -Dim MyIndex -Dim MyArray (3) -MyArray(0) = "Sunday" -MyArray(1) = "Monday" -MyArray(2) = "Tuesday" -MyIndex = Filter(MyArray, "day") ' MyIndex(0) contains "Monday". - -for each s in MyIndex - response.write s & "
" -next -%> - - \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/forloop.asp b/aspclassiccompiler/AspWebApp/forloop.asp deleted file mode 100644 index 7eba09a..0000000 --- a/aspclassiccompiler/AspWebApp/forloop.asp +++ /dev/null @@ -1,17 +0,0 @@ -<% -option explicit -%> - - - - -<% - dim i - for i = 1 to 8 - response.write i - next - - response.write i -%> - - \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/function.asp b/aspclassiccompiler/AspWebApp/function.asp deleted file mode 100644 index a976d74..0000000 --- a/aspclassiccompiler/AspWebApp/function.asp +++ /dev/null @@ -1,24 +0,0 @@ -<% -option explicit -%> - - - - -<% -sub printnum(n) - response.write n - for i = 1 to n - response.write i - next -end sub - -dim i - -printnum 5 - - - -%> - - \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/if.asp b/aspclassiccompiler/AspWebApp/if.asp deleted file mode 100644 index 37f207b..0000000 --- a/aspclassiccompiler/AspWebApp/if.asp +++ /dev/null @@ -1,24 +0,0 @@ -<% -option explicit -%> - - - - -<% - dim i, color - - i = 3 - if i = 1 then - color = "red" - elseif i = 2 then - color = "green" - elseif i = 3 then - color = "blue" - else - color = "blank" - end if - response.write color -%> - - \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/literals.asp b/aspclassiccompiler/AspWebApp/literals.asp deleted file mode 100644 index e8e39fd..0000000 --- a/aspclassiccompiler/AspWebApp/literals.asp +++ /dev/null @@ -1,12 +0,0 @@ - - - - - Integer <%=123456 %>
- Floating Point <%=.23456 %>
- Hex <%=&hFFFFFF%>
- Oct <%=&123456& %>
- Exponent <%=1.23e-3%>
- Date <%=#12/21/1999#%>
- - \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/operators.asp b/aspclassiccompiler/AspWebApp/operators.asp deleted file mode 100644 index f02160b..0000000 --- a/aspclassiccompiler/AspWebApp/operators.asp +++ /dev/null @@ -1,40 +0,0 @@ - - - - - 1 + "2" = <%=1 + "2"%>
- "1" + "2" = <%="1" + "2"%>
- 1 + empty = <%=1 + empty%>
- 1 + null = <%=1 + null%>
- Now + 1 = <%=Now + 1%>
- 1 + Now = <%=1 + Now%>
- Now + Now = <%=Now + Now%>
- True + True = <%=True + True%>
-
- "2" - 1 = <%="2" - 1%>
- "2" - "1" = <%="2" - "1"%>
- Now - 1 = <%=Now - 1%>
- 1 - Now = <%=1 - Now%>
- Now - (Now-7) = <%=Now - (Now-7)%>
- True - True = <%=True - True%>
-
- "2"/"1" = <%="2"/"1"%>
- True/True = <%=True/True%>
- Date/Date = <%=Date/Date%>
-
- "True" and "True"=<%="True" and "True"%>
- "true" and "True"=<%="true" and "True"%>
- True and "True"=<%=True and "True"%>
- True and "1"=<%=True and "1"%>
- True and "-1"=<%=True and "-1"%>
- "Yes" and "Yes"=Type mismatch
- 1 and "True" = <%=1 and "True"%>
- 1.1 and "True" = <%=1.1 and "True"%>
-
- 2 <= "1" = <%=2 <= "1"%>
- "1" <= "2" = <%="1" <= "2"%>
- Empty <= 1 = <%=Empty < 1%>
- Empty <= "1" = <%=Empty < "1"%>
- Empty = Empty = <%=Empty = Empty%>
- - \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/perftest.asp b/aspclassiccompiler/AspWebApp/perftest.asp deleted file mode 100644 index 579578e..0000000 --- a/aspclassiccompiler/AspWebApp/perftest.asp +++ /dev/null @@ -1,20 +0,0 @@ -<% -option explicit - -dim loops -dim counter -dim tickes - -tickes = Timer() -loops = 10000000 -counter = 0.0 - -while loops > 0 - loops = loops - 1 - counter = counter + 1.0 -wend - -Response.Write("DoLoop result " & counter & "
") -Response.Write("Executing the while loop took: " & ((Timer()-tickes) * 1000.0) & "ms" & "
") - -%> \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/perftest2.asp b/aspclassiccompiler/AspWebApp/perftest2.asp deleted file mode 100644 index eb5f3d9..0000000 --- a/aspclassiccompiler/AspWebApp/perftest2.asp +++ /dev/null @@ -1,24 +0,0 @@ -<% -option explicit - -perftest - -sub perftest() - dim loops - dim counter - dim tickes - tickes = Timer() - - loops = 10000000 - counter = 0.0 - - while loops > 0 - loops = loops - 1 - counter = counter + 1.0 - wend - - Response.Write("DoLoop result " & counter & "
") - Response.Write("Executing the while loop took: " & ((Timer()-tickes) * 1000.0) & "ms" & "
") -end sub - -%> \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/servervars.asp b/aspclassiccompiler/AspWebApp/servervars.asp deleted file mode 100644 index 02c3465..0000000 --- a/aspclassiccompiler/AspWebApp/servervars.asp +++ /dev/null @@ -1,14 +0,0 @@ - - - - - <% - url = Request.ServerVariables("HTTP_URL") -x = instr(1, url, "url=", 1) -if x > 0 then - url = Mid(url, x + 4) -end if - %> - <%=url%> - - \ No newline at end of file diff --git a/aspclassiccompiler/AspWebApp/with.asp b/aspclassiccompiler/AspWebApp/with.asp deleted file mode 100644 index c25d27c..0000000 --- a/aspclassiccompiler/AspWebApp/with.asp +++ /dev/null @@ -1,15 +0,0 @@ - - - - - <% with response %> - <%.Write vbSunday %>
- <%.Write vbMonday %>
- <%.Write vbTuesday %>
- <%.Write vbWednesday %>
- <%.Write vbThursday %>
- <%.Write vbFriday %>
- <%.Write vbSaturday %>
- <% end with %> - - \ No newline at end of file