slide1 l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
CFIF PowerPoint Presentation
Download Presentation
CFIF

Loading in 2 Seconds...

play fullscreen
1 / 15

CFIF - PowerPoint PPT Presentation


  • 165 Views
  • Uploaded on

CFIF. From the ground up. Who am I. Michael Dinowitz Head of House of Fusion Publisher of Fusion Authority Founding member of Team Macromedia CTO of Dinowitz and Associates Using ColdFusion since June 1995. Boolean. True / False “Yes” / “No” !0 / 0. Basic syntax. <CFIF Boolean>

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'CFIF' - albert


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide1

CFIF

From the ground up

who am i
Who am I
  • Michael Dinowitz
  • Head of House of Fusion
  • Publisher of Fusion Authority
  • Founding member of Team Macromedia
  • CTO of Dinowitz and Associates
  • Using ColdFusion since June 1995
boolean
Boolean
  • True / False
  • “Yes” / “No”
  • !0 / 0
basic syntax
Basic syntax
  • <CFIF Boolean>
  • <CFIF 1>
  • <CFIF True>
  • <CFIF “Yes”>
evaluation 1 level
Evaluation - 1 level
  • <CFIF Variable>
  • CFIF Is an evaluation zone
  • <CFIF IsTrue>
    • Is True is a variable with the value True
comparison 1 level
Comparison – 1 level
  • <CFIF “name” is “Michael”>
  • Comparison syntax

IS / EQ / Equal

Is Not / NEQ / Not Equal

Contains

Does not Contain

Greater Than / GT

Greater Than or Equal To / GTE

Less Than / LT

Less Than or Equal TO / LTE

comparison evaluation
Comparison/Evaluation
  • <CFIF Name is “Michael”>
  • 2 steps
    • One for the evaluation of name
    • The second for the comparison
functional comparison
Functional Comparison
  • <CFIF IsDefined(‘var’) is True>
  • 2 steps
    • 1 for the function evaluation
    • 1 for the comparison

Should be 1 step

<CFIF IsDefined(‘var’)>

IsDefined returns a boolean

multiple clauses
Multiple Clauses
  • <CFIF clause 1 joiner clause 2>
  • <CFIF name is “michael” and age is 11>
  • AND - Clause 1 and clause 2
  • OR - either or can be true
  • NOT - negation
  • EQV - both clauses must be the same (true of false)
  • IMP - if clause 1 is true and clause 2 is false, then its false otherwise true
  • XOR - one or the other but not both
short circuited boolean evaluation
Short Circuited Boolean Evaluation
  • Introduced in CF 4.01
  • Shortens the operation of multi-clause comparisons using logic
  • If the joiner is AND and the first clause fails, the whole comparison fails
  • If the joiner is OR and the first clause succeeds then the whole comparison succeeds
parenthesis
Parenthesis
  • Separates between logical chunks