diff options
author | Tom Willemsen | 2011-03-23 11:14:27 +0100 |
---|---|---|
committer | Tom Willemsen | 2011-03-23 11:14:27 +0100 |
commit | 0d342f0aee3f2f800e486c0051dabe718a7b2841 (patch) | |
tree | 1f55afabb8f4876dbe564f7ed5d8e573ddc78df3 /emacs.d/nxhtml/tests/in/asp.asp | |
parent | d4510153b17625a3dd2f1852cc6392fc26efecf6 (diff) | |
download | dotfiles-0d342f0aee3f2f800e486c0051dabe718a7b2841.tar.gz dotfiles-0d342f0aee3f2f800e486c0051dabe718a7b2841.zip |
I don't like nxhtml
Diffstat (limited to 'emacs.d/nxhtml/tests/in/asp.asp')
-rw-r--r-- | emacs.d/nxhtml/tests/in/asp.asp | 40 |
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")
-%>
|