summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/asp.asp
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/nxhtml/tests/in/asp.asp')
-rw-r--r--emacs.d/nxhtml/tests/in/asp.asp40
1 files changed, 0 insertions, 40 deletions
diff --git a/emacs.d/nxhtml/tests/in/asp.asp b/emacs.d/nxhtml/tests/in/asp.asp
deleted file mode 100644
index a557cb6..0000000
--- a/emacs.d/nxhtml/tests/in/asp.asp
+++ /dev/null
@@ -1,40 +0,0 @@
-
-<%@LANGUAGE="VBScript"%>
-
-<SCRIPT LANGUAGE="JavaScript" RUNAT="Server">
-function JSGreeting()
- {
- return "Greetings from a JavaScript Function";
- }
-</SCRIPT>
-
-<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
-Function VBGreeting()
- VBGreeting="Greetings from a VBScript Function"
-End Function
-
-Function toDollars(x)
- toDollars=FormatCurrency(x)
-End Function
-</SCRIPT>
-
-<%
-var a = 2;
-var b = 2;
-var c = add(a,b)
-c += " (Two numbers are added by JavaScript, "
-c += "and then formatted into currency by VBScript.)"
-
-function add(x,y)
- {
- result = x + y;
- result = toDollars(result);
- return result;
- }
-
-Response.Write("<HTML>\r")
-Response.Write(JSGreeting() + "<BR>\r")
-Response.Write(VBGreeting() + "<BR>\r")
-Response.Write(c + " <BR>\r")
-Response.Write("</HTML>\r")
-%>