RosettaCodeData/Task/Logical-operations/ColdFusion/logical-operations.cfm
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

9 lines
332 B
Text

<cffunction name = "logic" hint = "Performs basic logical operations">
<cfargument name = "a" required = "yes" type = "boolean" />
<cfargument name = "a" required = "yes" type = "boolean" />
<cfoutput>
'A' AND 'B' is #a AND b#< br />
'A' OR 'B' is #a OR b#< br />
NOT 'A' is #!a#
</cfoutput>
</cffunction>