diff options
author | Matth?us G. Chajdas <dev@anteru.net> | 2019-11-10 13:56:53 +0100 |
---|---|---|
committer | Matth?us G. Chajdas <dev@anteru.net> | 2019-11-10 13:56:53 +0100 |
commit | 1dd3124a9770e11b6684e5dd1e6bc15a0aa3bc67 (patch) | |
tree | 87a171383266dd1f64196589af081bc2f8e497c3 /tests/examplefiles/demo.cfm | |
parent | f1c080e184dc1bbc36eaa7cd729ff3a499de568a (diff) | |
download | pygments-master.tar.gz |
Diffstat (limited to 'tests/examplefiles/demo.cfm')
-rw-r--r-- | tests/examplefiles/demo.cfm | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/tests/examplefiles/demo.cfm b/tests/examplefiles/demo.cfm deleted file mode 100644 index 78098c05..00000000 --- a/tests/examplefiles/demo.cfm +++ /dev/null @@ -1,50 +0,0 @@ -<!--- cfcomment ---> -<!--- nested <!--- cfcomment ---> ---> -<!--- multi-line -nested -<!--- -cfcomment ----> ----> -<!-- html comment --> -<html> -<head> -<title>Date Functions</title> -</head> -<body> -<cfset RightNow = Now()> -<cfoutput> - #RightNow#<br /> - #DateFormat(RightNow)#<br /> - #DateFormat(RightNow,"mm/dd/yy")#<br /> - #TimeFormat(RightNow)#<br /> - #TimeFormat(RightNow,"hh:mm tt")#<br /> - #IsDate(RightNow)#<br /> - #IsDate("January 31, 2007")#<br /> - #IsDate("foo")#<br /> - #DaysInMonth(RightNow)# -</cfoutput> -<cfset x="x"> -<cfset y="y"> -<cfset z="z"> -<cfoutput group="x"> - #x# - <cfoutput>#y#</cfoutput> - #z# -</cfoutput> -</body> -</html> - -<cfset person = "Paul"> -<cfset greeting = "Hello #person#"> - -<cfset greeting = "Hello" & " world!"> -<cfset a = 5> -<cfset b = 10> -<cfset c = a^b> -<cfset c = a MOD b> -<cfset c = a / b> -<cfset c = a * b> -<cfset c = a + b> -<cfset c = a - b> -<!--- <!-- another <!--- nested --> ---> comment ---> |