Created
October 12, 2020 19:46
-
-
Save trycf/15596b9dbd07e224a3d20bf625c84a07 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
p7=7; | |
bought2.price=5; | |
DV = (bought2.price gt 3); | |
</cfscript> | |
<cfif structKeyExists(url,"param2")> | |
<cfset DV = (bought2.price gt 3)> | |
<!--- OR | |
<cfset DV = "bought2.price gt 9"> | |
---> | |
</cfif> | |
<cfdump var="#DV#"> | |
<cfif p7 gt bought2.price AND DV> | |
do that | |
</cfif> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment