End If
Purpose 
Marks the end of an If script step structure.
Format 
End If
Options 
None.
Compatibility 
This script step is also supported in web publishing and in a FileMaker Server scheduled script.
Description 
Every If script step must have a corresponding End If script step somewhere after it at the same indentation. Whenever you use an If script step, the Manage Scripts feature automatically enters an End If step.
Examples 
If [Table1::State = "CA"]
Perform Script ["Compute CA Tax and Total"]
Else
Perform Script ["Compute Total"]
End If
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)